ValF()
语法
Result.f = ValF(String$)概要
Converts a string into a float value. The string must be a float in decimal format. The number parsing stops at the first non numeric character.
参数
String$ The string to convert.
返回值
The float value of the string.
Remarks
Strings holding an integer can also be converted with Val() and 64-bit floats with ValD() (with more accuracy than ValF()).
示例
Debug ValF("10.24") ; Will display 10.24.
参阅
ValD(), Val(), Str(), StrF(), StrD()
已支持操作系统
所有