Flowdock
method

%

Importance_1
v1_8_6_287 - Show latest stable - 0 notes - Class: Rational
%(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.