Dev - Data Types - Int
A 32-bit signed integer number. In Lua it's represented by a number. An int can contain values from -2,147,483,648 to 2,147,483,647.
Int Parameters
When methods have int parameters you can simply put the number in the code. If you specify decimals they are ignored.
Precision
Lua uses 64-bit doubles to represent any type of number. When passing a Lua number to a method which requires an int, you will lose all decimals. Also very high or very low values (outside the int value range) will not work as expected!
Int Return Values
When a method returns an int value, it will be converted to a Lua number.