Val()
Syntax
Result.q = Val(String$)Description
Transform a string into a quad numeric value. The string may be an integer in decimal, hexadecimal (with '$' prefix) or binary (with '%' prefix) format.
Note: Strings containing a 32 bit floats may be converted with ValF() and 64 bit floats with ValD().Example:
Debug Val("1024102410241024") ; will print '1024102410241024'. Debug Val("$10FFFFFFFF") ; will print '73014444031'. Debug Val("%1000") ; will print '8'.See also Str(), Hex() and Bin().
Supported OS
All