Definition The return with the numerator value. Syntax Fraction(x,y).numerator Parameters x=number Examples Return are:
__eq__ The equality tested here:
__gt__ The return is tested whether the one value is greater than other.
__ge__ The equal to:
__le__ The returns are following:
__gt__ The value is:
__mul__ The multiplication's return is:
__truediv__ The fraction is divided by 2.
__add__ The fraction is added by:
__sub__ The value is:
__pow__ The fraction raised to power of:
__abs__ The absolute value of the fraction is:
__floordiv__ The fraction is divided by:
__mod__ The return is:
__neg__ The negative value of Fraction is:
__ne__ The fraction is not equal to:
__xor__ The find the value:
|