Try something like: bool ok; GeoDataCoordinates temp(GeoDataCoordinates::fromString("0.0,1.0e-2", ok)); if(ok==false) qDebug()<<"error"; I checked it several times: GeoDataCoordinates::fromString("0.0,1.0e-2", ok) can't convert scientific notation.
Git commit 237b4d7da0edccdbecdd4a8dbb5d2805778c64ab by Dennis Nienhüser. Committed on 18/05/2012 at 17:37. Pushed by nienhueser into branch 'master'. Handle scientific notation in the simple degree case. M +2 -2 src/lib/geodata/data/GeoDataCoordinates.cpp M +4 -0 tests/TestGeoDataCoordinates.cpp http://commits.kde.org/marble/237b4d7da0edccdbecdd4a8dbb5d2805778c64ab