doubleToStr (Function) |
|
This function converts a DOUBLE to a string.
Note: This function works with DOUBLE, but can also work with FLOAT as described in the Floating-point math introductory section.
Please note that when using the Floating-Point Math functions in X32 and NX32 compilation mode then math.inc must be explicitly included by the application. When using the NX32L compilation mode, math.inc is included by default.
Input: v : DOUBLE Value to convert.
Returns: STRING A string representation the value of v with 16 significant digits.
Declaration: FUNCTION doubleToStr : STRING;
Example: INCLUDE rtcu.inc |