StandardCalculator.Evaluate() - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki
Namespace: CalculatorClassLibrary
Description: Evaluates current expressions/input stored in calculator.
Returns | Description |
---|---|
decimal | evaluation result |
Exceptions | Cause |
---|---|
ArgumentOutOfRangeException | operand(s) for an operator is/are out of range |
DivideByZeroException | expression is attempting to divide by 0 |
OverflowException | evaluation result exceeds decimal.MaxValue |