im using pic basic and it wont let me go less than one eg 0.1
say i have this
pw = 150
then
pw = pw + 1 or pw = pw - 1
how can i make the value less than 1?
i would like to make it 0.1 is there abit of trickery that will alow me to do that? like this pw = (pw + (1/10)) would that work?
thanks
say i have this
pw = 150
then
pw = pw + 1 or pw = pw - 1
how can i make the value less than 1?
i would like to make it 0.1 is there abit of trickery that will alow me to do that? like this pw = (pw + (1/10)) would that work?
thanks