Mathamatical Query

Blitz3D Forums/Blitz3D Beginners Area/Mathamatical Query

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.

1024/800 is integer division (which turns out to be 1, then when assigned to a float var is 1.0)

what you want to do is this:
scle#=1024.0/800.0

...which is float division. Have fun. =)