Syntax CShort(expr)
Group Conversion
Description Convert to a 16 bit signed integer Short value. 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 16 bit signed integer.
Example '#Language
"WWB.NET"
SubMain
Debug.Print CShort(1.6)
' 2
EndSub