Esempio n. 1
0
 /// <summary>
 /// 運算(雙元符號)
 /// </summary>
 /// <param name="Operator">雙元運算子</param>
 /// <param name="num1">數字1</param>
 /// <param name="num2">數字2</param>
 /// <returns>答案</returns>
 public decimal Compute(BinaryOperator Operator, decimal num1, decimal num2)
 {
     return(Operator.Formula(num1, num2));
 }