FACT++  1.0
float ConnectionGPS::ConvLngLat ( const string &  l) const
inlineprivate

Definition at line 35 of file gpsctrl.cc.

36  {
37  const double lf = stof(l);
38  const uint32_t li = stoi(l);
39 
40  const double min = fmod(lf, 100);
41  const double deg = li/100;
42 
43  return deg + min/60;
44  }