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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث