CLng Function

Syntax:

CLng(Num|$)

Group:

Conversion

Description: 

Converts to a 32 bit long integer. If Num|$ is too big (or too small) to fit then an overflow error occurs.

Parameters:

Parameter

Description

Num|$

Convert a number or string value to a 32 bit integer.

Example:

Sub Main
  Debug.Print CLng(1.6) ' 2
End
Sub