≈Is about, after roundingU+2248. Almost equal to. Between a number and what it was rounded to: 9.98 ≈ 10. ≈ in HTML, \approx in LaTeX.
⌊x⌋Round down, floorU+230A, x, U+230B. The greatest whole number that is not above x.
⌈x⌉Round up, ceilingU+2308, x, U+2309. The least whole number that is not below x.
⌊x⌉Round to the nearestU+230A, x, U+2309. Floor on the left, ceiling on the right: the nearest whole number.
Floor and ceiling brackets
⌊Left floorU+230A. Left floor. ⌊ in HTML.
⌋Right floorU+230B. Right floor. ⌋ in HTML.
⌈Left ceilingU+2308. Left ceiling. ⌈ in HTML.
⌉Right ceilingU+2309. Right ceiling. ⌉ in HTML.
⌊⌋Floor pair, emptyPut the number between them.
⌈⌉Ceiling pair, emptyPut the number between them.
⌊⌉Nearest pair, emptyPut the number between them.
[x]Floor, older formSquare brackets, from Gauss in 1808. Some books mean the nearest whole number by it.
⟦x⟧Floor, double bracketsU+27E6 and U+27E7: floor in some books.
]x[Ceiling, reversed bracketsCeiling in some books.
{x}Fractional partWhat is left after the floor: x − ⌊x⌋.
Worked numbers
⌊2.4⌋ = 2Down
⌈2.4⌉ = 3Up
⌊2.4⌉ = 2To the nearest
⌊2.5⌋ = 2Down, from a half
⌈2.5⌉ = 3Up, from a half
⌊−2.4⌋ = −3Down, below zero
⌈−2.4⌉ = −2Up, below zero
⌊−2.5⌋ = −3Down, from minus two and a half
⌈−2.5⌉ = −2Up, from minus two and a half
⌊n⌋ = ⌈n⌉ = nA whole number stays
trunc(−2.5) = −2Digits cut off: toward zero
A rounded result, written out
9.98 ≈ 10To the nearest whole number
π ≈ 3.14Pi, to two decimal places
√2 ≈ 1.414Root two, to three decimal places
5/3 ≈ 1.6667To four decimal places
23,217 ≈ 23,200To three significant figures
$23.4476 ≈ $23.45To the cent
3.14 (2 decimal places)Digits kept after the point
3.14 (3 s.f.)Significant figures, short
20,000 (2 sf)Says how many of the zeros count
rounded to the nearest tenthIn words: one decimal place
rounded to the nearest hundredIn words: 23,217 gives 23,200
Rules for a half
⌊x + ½⌋Half up: 2.5 gives 3, −2.5 gives −2
⌈x − ½⌉Half down: 2.5 gives 2, −2.5 gives −3
sgn(x) ⌊|x| + ½⌋Half away from zero: 3 and −3
sgn(x) ⌈|x| − ½⌉Half toward zero: 2 and −2
0.5 → 0, 1.5 → 2, 2.5 → 2, 3.5 → 4Half to even, or bankers’ rounding
0.5 → 1, 1.5 → 1, 2.5 → 3, 3.5 → 3Half to odd
sgn(x) ⌊|x|⌋Toward zero, or truncation
sgn(x) ⌈|x|⌉Away from zero
In code
round(x)Python: a half goes to the even number
round(x, 2)Python: two decimal places
math.floor(x)Python: down
math.ceil(x)Python: up
math.trunc(x)Python: toward zero
Math.round(x)JavaScript: a half goes up
let y = Math.floor(x);JavaScript: down
let y = Math.ceil(x);JavaScript: up
let y = Math.trunc(x);JavaScript: toward zero
Math.round(x * 100) / 100JavaScript: two decimal places
In a spreadsheet
=ROUND(A1, 2)Two decimal places, a half away from zero
=ROUND(A1, 0)Nearest whole number
=ROUND(A1, -2)Nearest hundred
=ROUNDUP(A1, 0)Away from zero
=ROUNDDOWN(A1, 0)Toward zero
=INT(A1)Down, also below zero
=TRUNC(A1)Digits cut off
=MROUND(A1, 5)Nearest multiple of 5
=FLOOR.MATH(A1)Floor
=CEILING.MATH(A1)Ceiling
LaTeX and HTML
\lfloor x \rfloorLaTeX: floor
\lceil x \rceilLaTeX: ceiling
\lfloor x \rceilLaTeX: nearest
\left\lfloor \frac{x}{2} \right\rfloorLaTeX: brackets as tall as the fraction
x \approx 3.14LaTeX: is about
⌊x⌋HTML: floor
⌈x⌉HTML: ceiling
≈HTML: ≈
How this list was compiled: Names and code points are from UnicodeData.txt, version 18.0.0 (unicode.org); HTML names from html.spec.whatwg.org. Floor, ceiling, their examples and the older brackets: en.wikipedia.org; ≈ for a rounded number, the rules for halves, their other names and the rounded numbers 9.98, 5/3, √2, 23217 and $23.4476: en.wikipedia.org; s.f.: en.wikipedia.org. The nearest-integer bracket: mathworld.wolfram.com. Functions: Python (docs.python.org and docs.python.org), JavaScript (developer.mozilla.org), spreadsheets (the pages of ROUND, ROUNDUP, ROUNDDOWN, INT, TRUNC, MROUND, FLOOR.MATH and CEILING.MATH on support.microsoft.com). \lfloor, \lceil and \approx: fontdef.dtx (github.com). Read on November 30, 2026; the Python and JavaScript functions were run that day on 0.5, 1.5, 2.4, 2.5 and −2.5. The lines chosen and the order are this page’s own. License: own work (facts from the Unicode Character Database, Unicode License v3, unicode.org, and from the named sources, restated in this site’s own words)
How it works
The rounding symbol ≈ stands between a number and what it was rounded to: 9.98 ≈ 10. To order the rounding itself, use brackets: ⌊x⌋ rounds down, ⌈x⌉ up, ⌊x⌉ to the nearest whole number.
Read the full guide
Read the brackets by their feet
⌊ ⌋ have feet on the floor: go down. ⌈ ⌉ have arms at the ceiling: go up. Below zero, down is away from zero: ⌊−2.4⌋ is −3 and ⌈−2.4⌉ is −2. Cutting the digits off gives −2 as well.
When the number ends in a half
Rules differ. 2.5 is 3 by half up and 2 by half to even. Python’s round(2.5) is 2, JavaScript’s Math.round(2.5) is 3. For −2.5 both give −2, and a spreadsheet’s ROUND gives −3.
⌊x⌉ says nothing about halves. Write down which rule you mean.
Questions and answers
What is the symbol for rounding down?
⌊x⌋, the floor of x: the greatest whole number that is not above x. ⌊2.9⌋ is 2, and a whole number stays as it is.
What is the symbol for rounding up?
⌈x⌉, the ceiling of x: the least whole number that is not below x. ⌈2.1⌉ is 3.
Is there a symbol for rounding to the nearest whole number?
⌊x⌉, with the floor bracket on the left and the ceiling bracket on the right, or nint(x). Some authors write the bracket and others advise against it, so say in words what it means.
How do you show how far a number was rounded?
Put it in parentheses after the result: 3.14 (2 decimal places), or 3.14 (3 s.f.) for significant figures. In words, say to the nearest tenth or to the nearest hundred.
What is bankers’ rounding?
Half to even: a number that ends in exactly .5 goes to the even neighbor. 0.5 gives 0, 1.5 and 2.5 both give 2, 3.5 gives 4, so halves do not all pull upward.