[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!
↧