Int

Public Function Int(ByVal Number As Double) As Double

Calculates the largest integer value less or equal to the specified value.

SendDebug Int(Pi) 'Prints 3
SendDebug Int(8.00001) 'Prints 8
SendDebug Int(-8.000001) 'Prints -9

See also: