Versions Compared

Key

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

Fixed Point Intrinsic Functions - AsFloat Method

Panel
bgColor#2c3c4c

Return the number as a float

Member of Fixed Point Intrinsic Functions (PRIM_LIBI.IFixedPointIntrinsics)

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