public void NumMult(clsFraction obj) { x = (x * obj.Denominator) * obj.Number; y = (y * obj.Numerator) * obj.Number; }
public void Div(clsFraction obj) { x = x * obj.Denominator; y = y * obj.Numerator; }