Floor Function Calculator
Find the greatest integer less than or equal to a real number, including negative values.
Formula
floor(x)=max{n∈ℤ : n≤x}.
Floor ≈ (3)((3.7))
How to use
- Enter a real number x.
- Keep its sign.
- Read its integer floor.
Examples
- floor(3.7)=3; floor(−3.7)=−4.
Frequently asked questions
Is floor the nearest integer?
No. It always rounds toward negative infinity.
What happens to negative values?
For example, floor(−3.7)=−4, not −3.
Do integers change?
No. Every integer, including zero, is its own floor.
Sources
Updated: