strToDouble (Function) |
Top Previous Next |
This function converts a string to a DOUBLE.
Note: This function works with DOUBLE, but can also work with FLOAT as described in the Floating-point math introductory section.
Input: str : STRING String to convert.
Returns: DOUBLE The value of the string. If the string can not be parsed, 0 is returned.
Declaration: FUNCTION strToDouble : DOUBLE;
Example: INCLUDE rtcu.inc |