I am glad your code works. But in case you will need one decimal place precision in your calculation, then you can re-work your formula in this way:
CheersCode:Vu var byte ' unit Vd var byte ' decimal P = 6000 * ad_word / 614 V = SQR(P) Vu = V DIG 1 Vd = V DIG 0 LCDOUT $FE, 1, Vu,".",Vd
Al.
Bookmarks