Dev - Data Types - Float
A 32-bit floating-point number. In Lua it's represented by a number.
When methods have float parameters you can simply put the number in the code.
Lua uses 64-bit doubles to represent any type of number. When passing a Lua number to a method which requires a float, you will lose precision.
Float Return Values
When a method returns a float value, it will be converted to a Lua number.