Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

String Intrinsic Functions - AsFloat Method

Panel
bgColor#2c3c4c

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