Math
Floor Function Calculator
Round a number down to the nearest integer.
Did this calculator solve your problem today?
✓ Thank you for your feedback!
Report issue to loopingon.com
Sponsored
The floor function rounds any number down to the previous whole number.
The math behind it
⌊x⌋ is the largest integer that is less than or equal to x. It rounds toward negative infinity.
Worked Example
⌊4.8⌋ = 4, and ⌊−4.2⌋ = −5.
Frequently Asked Questions
Is floor the same as truncation?
For positives yes, but for negatives floor goes further down: ⌊−4.2⌋ = −5 while truncation gives −4.
Advertisement