String Intrinsic Functions - AsFloat Method
Return the string as a float
Member of String Intrinsic Functions (PRIM_LIBI.IStringIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Float

Resulting float

Details


AsFloat allows a variable to be handled as a floating point number. If the variable contains characters that cannot be converted, the application will end with a run-time error.
Use IsFloat to test the variable before using AsFloat.

See also

All Component Classes
Technical Reference