Changeset 11096 in ntrip for trunk/BNC/src/bncutils.cpp
- Timestamp:
- Oct 16, 2026, 3:37:24 PM (4 days ago)
- File:
-
- 1 edited
-
trunk/BNC/src/bncutils.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncutils.cpp
r11057 r11096 317 317 const QString& ggaType) { 318 318 319 double lat = strtod(latitude,NULL); 320 double lon = strtod(longitude,NULL); 321 double hei = strtod(height,NULL); 319 // QByteArray::toDouble() always uses the C locale - unlike strtod(), 320 // which follows LC_NUMERIC (set by Qt from the environment) 321 double lat = latitude.toDouble(); 322 double lon = longitude.toDouble(); 323 double hei = height.toDouble(); 322 324 QString sentences = "GPGGA,"; 323 325 if (ggaType.contains("GNGGA")) {
Note:
See TracChangeset
for help on using the changeset viewer.
