floats misbehaving?

Blitz3D Forums/Blitz3D Beginners Area/floats misbehaving?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've alos noticed this. I did code once that was subtracting and adding 0.1 to a number, and it would sometimes give weird numbers like 0.29999999. And when the number was supposed to be 0, it was 4.97263e-07 or something.