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.

This returns the largest integer smaller than or equal to the value.

Related Posts Plugin for WordPress, Blogger...