public static Fraction operator /(Fraction frac1, double dbl) { return(!((Fraction)null != frac1) ? (Fraction)null : Fraction.Multiply(frac1, Fraction.Inverse(Fraction.ToFraction(dbl)))); }
public static Fraction Divide(Fraction frac1, Fraction frac2) { return(!((Fraction)null != frac1) || !((Fraction)null != frac2) ? (Fraction)null : Fraction.Multiply(frac1, Fraction.Inverse(frac2))); }
public static Fraction operator /(Fraction frac1, int iNo) { return(!((Fraction)null != frac1) ? (Fraction)null : Fraction.Multiply(frac1, Fraction.Inverse(new Fraction((long)iNo)))); }