Hello Arera
Both ROUND and FIX() give the same on LCD 0.0
For 0.099999 I expected 0.1 for ROUND or maybe FIX() this is why am puzzled
Same result
[code:1:46ffdc2aae]
$regfile = "m644def.dat"
$crystal = 4000000
$hwstack = 40
$swstack = 16
$framesize = 32
Dim X As Single
Dim Y As Single
X = 0.09999999
Y = Round(x)
Lcd Y
End
[/code:1:46ffdc2aae]
Regards Paul
↧