Get digit after decimal point

I'm going to try my best to explain this...
Currently I'm doing the following:
readadc10 vcc,w13
w13=w13*10
b18=w13/205
bintoascii b18,b19,b15,b16

I need to get the digit after the decimal point and put it into a variable, but I cant multiply by 100 instead of 10 because the value may go beyond 65535 which is the max value the PICAXE can process.
 
Well that reads about 0.1v over but close enough I can just subtract 1, thanks!

Nope turns out it is accurate.
 
Last edited:
Top