public Fraction(string strValue)
        {
            Fraction fraction = Fraction.ToFraction(strValue);

            this.Initialize(fraction.Numerator, fraction.Denominator);
        }
        public Fraction(double dDecimalValue)
        {
            Fraction fraction = Fraction.ToFraction(dDecimalValue);

            this.Initialize(fraction.Numerator, fraction.Denominator);
        }
 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 operator -(Fraction frac1, double dbl)
 {
     return(!((Fraction)null != frac1) ? (Fraction)null : Fraction.Add(frac1, -Fraction.ToFraction(dbl)));
 }