Evaluates the most recently parsed expression and returns the result as a double.

Namespace:  SingularSys.Jep
Assembly:  Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)

Syntax

C#
public double EvaluateD()
Visual Basic (Declaration)
Public Function EvaluateD As Double
Visual C++
public:
double EvaluateD()

Return Value

Returns the value of the expression tree. If node is null, null is returned.

Exceptions

ExceptionCondition
SingularSys.Jep..::.EvaluationExceptionif an error occurs while evaluating or if the returned data type can not be converted to a JepDouble number.

See Also