
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
LANSA Version 15, April 2020