public void DecreaseBy(Rational other)
 {
     Numerator    = Numerator * other.Denominator - Denominator * other.Numerator;
     Denominator *= other.Denominator;
 }
Ejemplo n.º 2
0
 public void DecreaseBy(Rational other) //subtraction of the fractions
 {
     Normalize(other);
     Numerator    = (Numerator * other.Denominator) - (Denominator * other.Numerator);
     Denominator *= other.Denominator;
 }