Spread Windows Forms 18
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / IFormattedCellValue Interface / GetNumber Method
The evaluation context to get value.
true if the evaluation context will track calculation error; otherwise, false.


In This Topic
    GetNumber Method (IFormattedCellValue)
    In This Topic
    Gets the System.Double value.
    Syntax
    'Declaration
     
    
    Function GetNumber( _
       Optional ByVal context As IEvaluationContext, _
       Optional ByVal catchError As Boolean _
    ) As Double
    'Usage
     
    
    Dim instance As IFormattedCellValue
    Dim context As IEvaluationContext
    Dim catchError As Boolean
    Dim value As Double
     
    value = instance.GetNumber(context, catchError)

    Parameters

    context
    The evaluation context to get value.
    catchError
    true if the evaluation context will track calculation error; otherwise, false.

    Return Value

    An System.Double value.
    See Also