How To Convert Float To Int In LUA

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...

Leave a Reply

Your email address will not be published. Required fields are marked *