Im trying to use a 18m2 to calc the voltage at its power rail and display it to a decimal point the problem is how to multiply a number by a decimal.
main:
calibadc b0
b1 = 255 /b0 * '1.024v internal voltage reference for a 18m2
sertxd("voltage is ",#b1,".",#b3,"volts",13,10) 'here how...