Versions Compared

Key

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

Fixed Point Intrinsic Functions - AsString Method

Panel
bgColor#2c3c4c

Return the variable as a string

Member of Fixed Point Intrinsic Functions (PRIM_LIBI.IFixedPointIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

String

Resulting string

Details

AsString returns the number as an unformatted string.

The negative sign will be on the left of the result and all leading and trailing zeros will be ignored, with the exception of a value of 0.

Example

In this example, if #Number is defined as 15, 5 and it contains -12345.980, the result would be "-12345.98"

     #Result := #Number.AsString

See also

All Component Classes

Technical Reference