There is no data type casting conversion feature available in LUA so an alternative to convert float values to integer would be to use the math library.
|
1 |
math.floor(variable) |
This returns the largest integer smaller than or equal to the value.