R3m/framework Function reference math.floor

{math.floor(Float $value)}

Floor — Round fractions down.

Returns value rounded to the next lowest integer.
The return value of {math.floor() is still of type float because the value range of float is usually bigger than that of int.
This function returns false in case of an error (e.g. passing an array).

More information:


Last modified: 2021-06-07

© 2021 universeorange.com