Simple math question

BlitzMax Forums/BlitzMax Beginners Area/Simple math question

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Hi!

Please try this.

Global a,b: Float

a = 1.0/2.0
Print a


print 0

Global a: Float

a = 1.0/2.0
Print a


print 0.500

Do i miss something or is this an error?

Thanks

Ralf