floor()
This function returns the largest Integer value that is not greater than a. For a non-numeric value a the function returns 0, see examples below.
Parameters
Parameter |
Description |
a |
Numerical value. |
Examples
Parameter a |
Result |
100.3 |
100 |
100 |
100 |
-2.5 |
-3 |
abc |
0 |