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