How this calculator works
Choose the largest integer that is less than or equal to the input. Floor moves toward negative infinity, so a negative non-integer moves farther from zero. Integers stay unchanged.
Formula
floor(x) = the greatest integer n satisfying n <= x.
Worked example
floor(2.7) = 2 and floor(-2.3) = -3.
Advertisement
Frequently asked questions
Does this round to the nearest integer?
No. The direction is fixed even when the fractional part is very small.
What happens to an exact integer?
It stays unchanged, including zero and negative integers.
Can I use a measured quantity?
Yes, but the numeric result is in the unit you entered. For complete packages or items, choose the rounding direction that fits your problem.