x = x + 8 ' Progressive increment(??) after every call
IF x > 3800 THEN
j = 0
x = 0
ELSE
j = 240 - X*240/3800
ENDIF
SETLCD 0,1,CHR$(1) ' clear screen
SETLCD 1,1,"-------INPUT---------"
SETLCD 2,1," Current"
SETLCD 3,1," "+str$(j)+" ma"
SETLCD 4,1,"_____Press Enter____ "
how do i show a the number with a decimal point the variable is j
thanks