libexplain  1.4.D001
Functions
libexplain/string_to/double.c File Reference
#include <libexplain/string_to_thing.h>
#include <libexplain/strtod.h>

Go to the source code of this file.

Functions

double explain_parse_double_or_die (const char *text)

Function Documentation

double explain_parse_double_or_die ( const char *  text)

The explain_string_to_double function may be used to convert text to a double-precision floating-point value.

Parameters:
textThe text to be converted.
Returns:
On success, a floating-point value. On error, prints an error message and does not return.

Definition at line 25 of file double.c.