[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.IReadonlyPrimitiveValue.GetNumber

GetNumber Method

GetNumber(IEvaluationContext, bool)

Gets the double value.

Declaration
double GetNumber(IEvaluationContext context = null, bool catchError = true)
Function GetNumber(Optional context As IEvaluationContext = Nothing, Optional catchError As Boolean = True) As Double
Parameters
Type Name Description
IEvaluationContext context

The evaluation context to get value.

bool catchError

true if the evaluation context will track calculation error; otherwise, false.

Returns
Type Description
double

An double value.