Unicode Intrinsic Functions - AsFloat Method

Return the string as a float

Member of Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)


Name Type Data Type Description
Result *Result (Optional) Float Resulting float


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

LANSA Version 15, April 2020