Example 1
- x = 3.7
3
What is ⌊3.7⌋? 3. The fraction drops down, not up to four.
Type an x. Floor is the greatest integer that does not exceed x. ⌊3.7⌋ = 3. ⌊−1.2⌋ = −2. ⌊5⌋ = 5. A minus does not clip to −1.
The calculator takes the integer part toward −∞. Negatives go toward −∞: −1.2 gives −2, not −1. A whole x stays itself.
Enter data and click Calculate.
Floor (integer part) is the greatest integer that is not larger than x. School writes ⌊3.7⌋ = 3, because 3 sits under 3.7 and 4 does not. The calculator takes the integer part toward −∞ and shows 3, a plain integer string, with no six zeros.
A negative x does not clip toward zero. Floor walks toward −∞. ⌊−1.2⌋ = −2, because −2 is smaller than −1.2 and −1 is already larger. This is not “round down away from the axis from zero”. Minus 1.2 does not leave −1.
The field is x. A comma and a dot are the same decimal. 3.7 and 3,7 both give 3. Whole 5 stays 5. The header units switch does not multiply anything here.
Ceiling goes the other way: ⌈−1.2⌉ = −1. Rounding to n places keeps a fraction and only shortens it to k digits. Here the result is always an integer.
The fractional part is x minus its integer part. Absolute value drops the sign and does not clip the fraction. Here you stay with floor alone.
⌊3.7⌋ = 3. ⌊−1.2⌋ = −2. ⌊5⌋ = 5. 0.9 gives 0. −0.1 gives −1.
⌊x⌋ = Math.floor(x)
Floor is the greatest integer ≤ x. ⌊3.7⌋ = 3. ⌊−1.2⌋ = −2. ⌊5⌋ = 5. Negatives go toward −∞.
3
What is ⌊3.7⌋? 3. The fraction drops down, not up to four.
-2
What is ⌊−1.2⌋? −2, not −1. Floor goes toward minus infinity.
5
What is ⌊5⌋? 5. A whole number stays itself.
3. The greatest integer that does not exceed 3.7.
The greatest integer ≤ x. The calculator takes the integer part toward −∞ and shows a plain integer string.
−2, not −1. Floor goes toward −∞. −1 is already larger than −1.2.
5. When x is already an integer, the result is that same x.
Yes. A minus is not an error. −0.1 gives −1. −3 gives −3.
Floor steps toward −∞. Ceil steps toward +∞. For −1.2, floor is −2 and ceil is −1.
Yes. 3.7 and 3,7 both give 3.
On the fractional-part page: x minus its integer part. Here you get the integer alone.
Yes. 0 is the greatest integer under 0.9.
No. 3.7 stays 3 under every label.
The calculator computes the same formula as the definition below.
Page updated in 2026.