Method: Character to numeric double with default
Function name: todouble
Parameter list: (CHAR str, DOUBLE default)
Return type: DOUBLE
What the method does: Converts a character input to numeric double (double-precision floating point).
Note: You can code a default value if the character to numeric conversion fails.