예제 #1
0
        public static SimpleFraction operator /(SimpleFraction leftFraction, SimpleFraction rightFraction)
        {
            SimpleFraction resultFraction = new SimpleFraction((int)(leftFraction.Numerator * rightFraction.Denominator), (uint)(leftFraction.Denominator * rightFraction.Numerator));

            return(resultFraction);
        }