Skip to content

StandardCalculator.Evaluate()

Yi Zhang edited this page May 29, 2018 · 1 revision

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

Clone this wiki locally