If there is an easier way, please share!
Code: [Local Link Removed for Guests]
battery = 12.8126
batt$ = str$(battery , "%2.1f") ' or %2.3f if you want 3 decimal places etc.
battery = val(batt$)
wlog battery ' battery now equals 12.8