Floor
Floor[s]
Floor[s] returns the largest integer less than or equal to the value of expr.
| Example | in | out |
|---|---|---|
The floor of 1.9. |
Floor[ 1.9 ] |
1 |
The floor of -3/2. |
Floor[ -3/2 ] |
-2 |
The floor of x, where x is defined as pi. |
Floor[x] |
3 |