Flowdock
method

%

Importance_1
%(other) public

Returns the remainder when this value is divided by other.

Examples:

r = Rational(7,4)    # -> Rational(7,4)
r % Rational(1,2)    # -> Rational(1,4)
r % 1                # -> Rational(3,4)
r % Rational(1,7)    # -> Rational(1,28)
r % 0.26             # -> 0.19
Show source
Register or log in to add new notes.