WTF: 4 divided by 7 = 0, huh?!?

BlitzMax Forums/BlitzMax Programming/WTF: 4 divided by 7 = 0, huh?!?

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.

"Is that a quirk only to BlitzMax, coz i can nearly bet that C# in the dotnet framework doesnt behave this way. "

C++, C#,Java and C all behave the same way as blitzmax in this case. I would imagine almost any language would as well.

H&K's fix above looks like it would work the way you want it to.