This has worked for me. Play with it.
Note DEC2 and // after the dummy “.”Code:RESULT VAR WORD LCDOUT $FE,1,DEC RESULT/100,".",DEC2 RESULT//100
The DEC2 gives the last two digits and // gives the remainder or MOD of a number.
I use this to monitor battery voltage to the hundredths place.
Bookmarks