VAL( string$ )
Returns the numerical value of the ‘string$’. If ‘string$’ is an invalid number the function will return zero.
This function will recognize the &H prefix for a hexadecimal number, &O for octal and &B for binary.
PRINT VAL("123")
123
PRINT VAL("Hello")
0
See also:
ASC
BIN$
CHR$
DATE$
HEX$
LEN
OCT$
STR$
TIME$
Applies to:
CGCOLORMAX
CGMMSTICK
CGMICROBOARD
CGMICROMITE
Leave a Reply