Example #1
0
        public async Task <string> Summing(string query, double firstValue, double secondValue)
        {
            double        calculatedResult = firstValue + secondValue;
            PrepareResult prepare          = new PrepareResult();

            return(await prepare.PreparingResult(query, calculatedResult));
        }
Example #2
0
 public async Task Multiplying(string query, double firstValue, double secondValue)
 {
     double        calculatedResult = firstValue * secondValue;
     PrepareResult prepare          = new PrepareResult();
     await prepare.PreparingResult(query, calculatedResult);
 }
Example #3
0
 public async Task CalculateTan(string query, double firstValue)
 {
     double        calculatedResult = Math.Tan(firstValue);
     PrepareResult prepare          = new PrepareResult();
     await prepare.PreparingResult(query, calculatedResult);
 }
Example #4
0
 public async Task CalculateExp(string query, double firstValue, double secondValue)
 {
     double        calculatedResult = Math.Pow(firstValue, secondValue);
     PrepareResult prepare          = new PrepareResult();
     await prepare.PreparingResult(query, calculatedResult);
 }