Beispiel #1
0
        public static bool operator <(double c, Fraction a)
        {
            Fraction b = new Fraction(c);

            return(a > b);
        }
Beispiel #2
0
        public static Fraction operator /(double c, Fraction a)
        {
            Fraction b = new Fraction(c);

            return(a / b);
        }
Beispiel #3
0
        public static bool operator <(Fraction a, double c)
        {
            Fraction b = new Fraction(c);

            return(a < b);
        }
Beispiel #4
0
        public static Fraction operator *(Fraction a, double c)
        {
            Fraction b = new Fraction(c);

            return(a * b);
        }