Home
/
Python 3.11
/
Fractions
/
__floor__
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Fractions
__floor__
Python 3.11
Returns the greatest int
Syntax
PYTHON
Copy
__floor__()
Examples
Example 1
PYTHON
Copy
>>> from math import floor >>> floor(Fraction(355, 113)) 3
See Also
int
math.floor()