Modules-old/Microstrain/Microstrain.cpp
////////////////////////////////////////////////////////////////////////////////
// convert uint64_t time to double time
convert uint64_t time to double time
convert uint64_t time to double time
double Microstrain::toDouble(uint64_t time)
{
  double res = trunc(time/1e9);
  res += (((double)time)/1e9) - res;
  return res;
}
double Microstrain :: toDouble ( uint64_t time ) { double res = trunc ( time / 1e9 ) ; res += ( ( ( double ) time ) / 1e9 ) - res ; return res ; }
convert uint64_t time to double time
convert uint64_t time to double time