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.

@Gab,

I agree, I think it lazy to use # and !, (And I can never remember which is which)

Also maybe A:float/b is the same as Float (a)/b or not, but I can see that the second is a cast, however for const I would 7:float/b rather than Float (7)/b, not for any reason, just that I would type it out that way without thinking

@ Pap

Print 4/Double (7)

or

Print Double(4)/7 would do.