Function stod (o2scl)

O2scl : Function List

double o2scl::stod(std::string s)

Convert a string to a double.

This function is now just a wrapper for std::stod.

Warning

Because of the presence of std::stod() in C++11, you may have to explicitly provide the namespace, i.e. o2scl::stod() in your code.