示例#1
0
 public static Fraction Subtract(Fraction fraction1, Fraction fraction2)
 {
     return fraction1 - fraction2;
 }
示例#2
0
 public static Fraction Multiply(Fraction fraction1, Fraction fraction2)
 {
     return fraction1 * fraction2;
 }
示例#3
0
 public static Fraction Divide(Fraction fraction1, Fraction fraction2)
 {
     return fraction1 / fraction2;
 }
示例#4
0
 public static Fraction Modulus(Fraction fraction1, Fraction fraction2)
 {
     return fraction1 % fraction2;
 }
示例#5
0
 public static Fraction Add(Fraction fraction1, Fraction fraction2)
 {
     return fraction1 + fraction2;
 }