0.35=0.349999994

BlitzMax Forums/BlitzMax Beginners Area/0.35=0.349999994

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.

Just keep all your figures multiplied by 100 and only deal in integers.

Then convert to string yourself when displaying them.

In other words, if you want to keep 5.35 in a variable, multiply it by 100 and have 535 in the variable, when you want to print it, convert to string and insert decimal two places from the right.