Spread WPF 18
GrapeCity.CalcEngine Namespace / IEvaluationContext Interface / CastToLong Method
The System.Double value.


In This Topic
    CastToLong Method
    In This Topic
    Casts the specified System.Double value to System.Int64 value.
    Syntax
    'Declaration
     
    Function CastToLong( _
       ByVal value As Double _
    ) As Long
    'Usage
     
    Dim instance As IEvaluationContext
    Dim value As Double
    Dim value As Long
     
    value = instance.CastToLong(value)
    long CastToLong( 
       double value
    )

    Parameters

    value
    The System.Double value.

    Return Value

    The corresponding System.Int64 value. Error will be set to CalcError.Number if the System.Double value cannot be casted.
    See Also