[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.IEvaluationContext.CastToInt

CastToInt Method

CastToInt(double)

Casts the specified double value to int value.

Declaration
int CastToInt(double value)
Function CastToInt(value As Double) As Integer
Parameters
Type Name Description
double value

The double value.

Returns
Type Description
int

The corresponding int value. Error will be set to Number if the double value cannot be casted.