Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 21194

BASCOM-AVR : Function FIX() result puzzling : REPLY

$
0
0
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

Viewing all articles
Browse latest Browse all 21194

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>