How do you keep the digits to right of decimal?

BlitzMax Forums/BlitzMax Programming/How do you keep the digits to right of decimal?

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.


MM, You're passing float point values to integers at some point? Be sure to be using superstrict in your code.



Ziggy, you are correct.

The problem is that i needed to do my division like this:
iscaleY = 768.0 / 329.0

what I was doing is this:
iscaleY = 768 / 329