Important
|
Deprecated in 5.0. Please use [func-math-floor] instead. |
floor(input) => Integer
Round down value.
input |
Input value. |
Return
Value round down to nearest integer.
Example
>>> floor(2.3) 2 >>> floor(3.8) 3 >>> floor(-2.3) -3 >>> floor(-3.8) -4