Function novatel_gps_driver::ParseDouble(const std::string&, double&)

Function Documentation

bool novatel_gps_driver::ParseDouble(const std::string &string, double &value)

Parses a string containing a floating-point number into a double.

Parameters:
  • string – The string to read, i.e. “5.0”

  • value – A double representing the value from the strong.

Returns:

False if the format of the string was not recognized.