FACT++  1.0
float ConnectionGPS::ConvTm ( const string &  t) const
inlineprivate

Definition at line 46 of file gpsctrl.cc.

47  {
48  const double tf = stof(t);
49  const uint32_t ti = stoi(t);
50 
51  const double h = ti/10000;
52  const double m = (ti/100)%100;
53  const double s = fmod(tf, 100);
54 
55  return h/24 + m/1440 + s/86400;
56  }
TT t
Definition: test_client.c:26