Floor Function Calculator

With the floor function calculator you can discover how this function works and why it is useful.

Clear
Rounded3,457to the nearest 1
Rounded down (floor)3,456
Rounded up (ceiling)3,457
Truncated3,456digits simply dropped
Difference from the original0.211

At every place value

NearestResult
0.013,456.79
0.13,456.8
13,457
103,460
1003,500
10003,000

The method

round to the nearest multiple of the chosen place

Rounding, flooring and truncating differ

Rounding goes to whichever multiple is closer. Floor always goes down and ceiling always goes up — including for negatives, where floor(−2.3) is −3, not −2. Truncating just discards digits, so it rounds towards zero and behaves differently from floor on negative numbers.