ID EN
Fractions

__floor__

Python 3.11

Returns the greatest int

Syntax

PYTHON
__floor__()

Examples

Example 1
PYTHON
>>> from math import floor
>>> floor(Fraction(355, 113))
3

See Also

int math.floor()