__floordiv__


Definition 
The return will of floor division such as a//b.

Syntax
___floordiv__

Parameters
Number

Examples
The fraction is divided by:
 >>> Fraction(2,3).numerator.__floordiv__(2)
1


The floor division is:
 >>> Fraction(1,1).real.__floordiv__(Fraction(1, 1))
1

Comments