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