[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.IEvaluationContext.CastToLong

CastToLong Method

CastToLong(double)

Casts the specified double value to long value.

Declaration
long CastToLong(double value)
Function CastToLong(value As Double) As Long
Parameters
Type Name Description
double value

The double value.

Returns
Type Description
long

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