58 deg = (int)(ang / 1000000.0);
63 min = (int)((ang - deg * 1000000.0) / 1000.0);
68 sec = ang - deg * 1000000.0 - min * 1000.0;
73 *dd = sgn * (deg * 3600.0 + min * 60.0 + sec) / 3600.0;
MTKt_status MtkDmsToDd(double dms, double *dd)
Convert packed degrees, minutes, seconds to decimal degrees.
#define MTK_ERR_CODE_JUMP(code)