floor
To round down a given number to the nearest integer
With this function, you can round down a decimal number to the next lower integer. Existing decimal places are removed.
If an integer is already passed as a parameter, it remains unchanged.
floor(number)
number
1
floor(2.5)
Result: 2
1
floor(12.00001)
Result: 12
1
floor(27)
Result: 27
Last modified 7mo ago