C# Class Data.Calculator

Inheritance: ICalculator
Show file Open project: zyborg/dotnet-tests-report

Public Methods

Method Description
Divide ( decimal number1, decimal number2 ) : decimal
Multiply ( decimal number1, decimal number2 ) : decimal
Subtract ( decimal number1, decimal number2 ) : decimal
Sum ( decimal number1, decimal number2 ) : decimal

Method Details

Divide() public method

public Divide ( decimal number1, decimal number2 ) : decimal
number1 decimal
number2 decimal
return decimal

Multiply() public method

public Multiply ( decimal number1, decimal number2 ) : decimal
number1 decimal
number2 decimal
return decimal

Subtract() public method

public Subtract ( decimal number1, decimal number2 ) : decimal
number1 decimal
number2 decimal
return decimal

Sum() public method

public Sum ( decimal number1, decimal number2 ) : decimal
number1 decimal
number2 decimal
return decimal