Pure
Returns an integer representation for real r. The output will be rounded towards 0 if it is a real number.
Lua: Only raises an error if r is null.
For extermely large values the minimum/maximum representable signed integer will be returned (e.g. for Lua: math.minintegerlua and math.maxintegerlua)
math.mininteger
math.maxinteger
NaN is not a possible value in Warcraft 3 (always reset to 1.0).
Generated using TypeDoc
Returns an integer representation for real r. The output will be rounded towards 0 if it is a real number.
Lua: Only raises an error if r is null.
For extermely large values the minimum/maximum representable signed integer will be returned (e.g. for Lua:
math.mininteger
lua andmath.maxinteger
lua)