ID EN
Math

floor

Python 3.11

Return the floor of x, the largest integer less than or equal to x. If x is not a float, delegates to x.__floor__, which should return an Integral value.

Syntax

PYTHON
math.floor(x)

See Also

x.__floor__ Integral