Function parsing_utilities::parseDouble(const std::string&, double&)

Function Documentation

bool parsing_utilities::parseDouble(const std::string &string, double &value)

Interprets the contents of “string” as a floating point number of type double.

It stores the “string“‘s value in “value” and returns whether or not all went well.

Parameters:
  • string[in] The string whose content should be interpreted as a floating point number

  • value[out] The double variable that should be overwritten by the floating point number found in “string”

Returns:

True if all went fine, false if not