Overview | Statement List | Example


字符串转换为实数

Synopsis

VALF('string')

Description

Converts a string representing a numerical value into a real floating point number. The string must be in the numeric form with a maximum of 132 characters including the decimal point. This function is the reciprocal of the FSTR and FSTRL functions.

NOTE: When non-numeric characters follow a number in the string, it is truncated at the first non-numeric character before the conversion. The only exception is the letter E which VALF interprets as scientific notation.

Parameters

Parameter

Description

'string'

The literal string or string variable name of a string which gets converted to a real number.


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.