You are here : python_3mathmathfloor

math.floor() - math

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

math.floor(x)


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference