The rstod() function

The rstod() function converts a null-terminated string into a C double value.

Syntax

mint rstod(string, double_val)
   char *string;
   double *double_val;
string
A pointer to the null-terminated string to convert.
double_val
A pointer to a double variable to contain the converted value.

Return values

=0
The conversion was successful.
!=0
The conversion failed.