rounds numbers????

BlitzPlus Forums/BlitzPlus Beginners Area/rounds numbers????

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.

To get a float result, then at least one of the values in the expression needs to be a float also.

You should also be aware that floats are only single precision in Blitz and therefore not very accurate. So don't rely on 10.0/4 being 0.25. Because it's more likely to be 0.2499999 or something.