Syntax:
CInt(expr)
Group:
Conversion
Description:
Converts to a 16 bit integer. If the expr is too big (or too small) to fit then an overflow error occurs.
Parameters:
Parameter
|
Description
|
expr
|
Convert a number or string value to an integer.
|
Example:
Sub Main
Debug.Print CInt(1.6) ' 2
EndSub