Lines Matching refs:whole_part
4260 int32_t whole_part = latitudex10000 / 10000;
4261 if (whole_part == 0) {
4262 snprintf(latitude_str, 5, "%c%.2d.", sign, whole_part);
4264 snprintf(latitude_str, 5, "%+.2d.", whole_part);
4266 int32_t fraction_part = latitudex10000 - (whole_part * 10000);
4277 whole_part = longitudex10000 / 10000;
4278 if (whole_part == 0) {
4279 snprintf(longitude_str, 6, "%c%.3d.", sign, whole_part);
4281 snprintf(longitude_str, 6, "%+.3d.", whole_part);
4283 fraction_part = longitudex10000 - (whole_part * 10000);