public double Divide(double a, double b) { if (b == 0) { return(0); } else { Math MathA = new Math(a, b); return(MathA.Calculation("/")); } }
public double Minus(double a, double b) { Math MathA = new Math(a, b); return(MathA.Calculation("-")); }
public double Multiply(double a, double b) { Math MathA = new Math(a, b); return(MathA.Calculation("*")); }
public double Add(double a, double b) { Math MathA = new Math(a, b); return(MathA.Calculation("+")); }