Parse an option of the type double
#include <input/parseopts.h>
int input_parse_double(const char *option, const char *value, double *out)
0 if successful, otherwise non-zero if an error occurred.