CInt Function

Syntax:
CInt(Num|$)
Group: Conversion
Description:
Convert to a 16 bit 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 16 bit integer.
Example:

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