Floor Right in LaTeX (\rfloor)

⌋\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.

round⁡(x)=⌊x+12⌋\operatorname{round}(x) = \lfloor x + \tfrac{1}{2} \rfloor
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Floor Right: $\rfloor$

\[ \operatorname{round}(x) = \lfloor x + \tfrac{1}{2} \rfloor \]
\end{document}

Related symbols

All 括弧・区切り →

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に変換
  • 論文の執筆とフォーマットに即座にサポートを取得