int() function

Blitz3D Forums/Blitz3D Beginners Area/int() function

That's just the way the language was designed. Do you expect it to do something other than what the docs say?


Int: Converts the value to the nearest integer.
Floor: Rounds downward, i.e. in the direction of -Infinity.
Ceil: Rounds upward, i.e. in the direction of Infinity.