\lceil \rceil

The \lceil and \rceil commands are used to denote the ceiling function in mathematics, which rounds a number up to the nearest integer. These delimiters are often used in mathematical expressions to indicate that the value inside should be rounded up.

Examples

Rounding 2.3 up to the nearest integer using the ceiling function.

\lceil 2.3 \rceil = 3

Rounding -1.7 up to the nearest integer using the ceiling function.

\lceil -1.7 \rceil = -1

General notation for the ceiling of a variable x.

\lceil x \rceil