Programming Reference Manual
 
Syntax
 
CLng(Num|$)
 
Description
Convert to a 32 bit long integer. If Num|$ is too big (or too small) to fit then an overflow error occurs.
 
Parameter
Description
Num|$
Convert a number or string value to a 32 bit integer.
See Also
 
Example
 
Sub Main
    Debug.Print CLng(1,000,000.6) ' 1000002
End Sub