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

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

$
0
0
[quote:d97b4ac53e]So should this not give 0.1 and not 0.0 [/quote:d97b4ac53e] NOT 0.1 and NOT 0.0? This is typo, obviously. What value is displayed in your LCD, and what did you expect? The simulator says Y to be 0. 0 is the next natural number lower than 0.0999999. Don't confuse FIX and ROUND!

Viewing all articles
Browse latest Browse all 21194

Trending Articles



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