LongInt

Public Function LongInt(ByVal Number As Double) As LongLong

Calculates the integer value (removing the fractional part) and converts to LongLong (64 bit signed integer).

Dim lRecordID As LongLong = LongInt(pContext.DataSet.RecordID)

See also: