Floor Right in LaTeX (\rfloor)
- LaTeX command
\rfloor- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
- Copy the Unicode character
- ⌋
U+230B
Where it is used
Right floor bracket, closing the floor function notation for rounding down.
Close any \lfloor with \rfloor, for example in \lfloor x \rfloor or the integer division \lfloor a/b \rfloor that many programming languages implement for positive operands. When the left bracket was set with \left\lfloor, the right one must be \right\rfloor in the same math group, or LaTeX reports a missing \right. The pair is also used for rounding to the nearest integer via \lfloor x + 1/2 \rfloor. A paired-delimiter macro such as \floor{x} keeps notation consistent in long documents.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Floor Right: $\rfloor$
\[ \operatorname{round}(x) = \lfloor x + \tfrac{1}{2} \rfloor \]
\end{document}Related symbols
- Floor
\lfloor x \rfloor - Floor Left
\lfloor - Double Vertical Bar
\| - Ceiling
\lceil x \rceil - Norm
\| x \| - Ceiling Right
\rceil
Frequently asked questions
- How do I write Floor Right in LaTeX?
- Type \rfloor in math mode, for example $\operatorname{round}(x) = \lfloor x + \tfrac{1}{2} \rfloor$. It works in plain LaTeX without loading any package.
- Which package do I need for \rfloor?
- None. \rfloor is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \rfloor in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\rfloor$ in running text. If you only need the glyph in text, paste the Unicode character ⌋ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredAI로 LaTeX 작성
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기