How to write ⌊⌋ (floor and ceiling) in LaTeX
Use \lfloor x \rfloor in math mode — between $…$ in a document, or directly in the editor above.
| LaTeX command | \lfloor x \rfloor |
|---|---|
| Symbol | ⌊⌋ |
| Unicode | U+230A U+230B |
| Notes | Ceiling: \lceil x \rceil |
Example
\lfloor 3.7 \rfloor = 3
The editor above is pre-filled with this example — tweak it and export it as PNG, SVG or a Word equation.
More structures
| Symbol | Command |
|---|---|
| Matrix | \begin{pmatrix} a & b \\ c & d \end{pmatrix} |
| Cases (piecewise function) | \begin{cases} a & x > 0 \\ b & x \le 0 \end{cases} |
| Binomial coefficient | \binom{n}{k} |
| Absolute value | \lvert x \rvert |
| Subscripts and superscripts | x_{i}^{2} |


