Val()
语法
Result.q = Val(String$)概要
Converts a string into a quad numeric value. The string may be an integer in decimal, hexadecimal (with '$' prefix) or binary (with '%' prefix) format. The number parsing stops at the first non numeric character.
参数
String$ The string to convert.
返回值
The numeric value of the string.
Remarks
Strings holding a 32-bit floats may be converted with ValF() and 64-bit floats with ValD().
示例
Debug Val("1024102410241024") ; will print '1024102410241024'. Debug Val("$10FFFFFFFF") ; will print '73014444031'. Debug Val("%1000") ; will print '8'.
参阅
ValD(), ValD(), Str(), StrF(), StrD()
已支持操作系统
所有