ID EN
Math

ceil

Python 3.11

Return the ceiling of x, the smallest integer greater than or equal to x. If x is not a float, delegates to x.__ceil__, which should return an Integral value.

Syntax

PYTHON
math.ceil(x)

See Also

x.__ceil__ Integral