CLng Function

Syntax              CLng(expr)

Group                Conversion

Description       Convert to a Long. If expr is too big (or too small) to fit then an overflow error occurs.

Parameter         Description

expr                    Convert a number or string value to a Long.

Example            '#Language "WWB-COM"
Sub Main
    Debug.Print CLng(1.6) ' 2
End Sub