Spread Windows Forms 14.0
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / IEvaluationContext Interface / CastToInt Method
The System.Double value.

In This Topic
    CastToInt Method
    In This Topic
    Casts the specified System.Double value to System.Int32 value.
    Function CastToInt( _
       ByVal value As Double _
    ) As Integer
    Dim instance As IEvaluationContext
    Dim value As Double
    Dim value As Integer
    value = instance.CastToInt(value)
    int CastToInt( 
       double value


    The System.Double value.

    Return Value

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