Changeset 2694 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2009-12-28T12:51:35+01:00 (15 years ago)
Author:
Gubaer
Message:

fixed one off in getRoundedToOsmPrecision()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/coor/LatLon.java

    r2693 r2694  
    203203    public LatLon getRoundedToOsmPrecision() {
    204204        return new LatLon(
    205                 Math.round(lat() * 10e7) / 10e7d,
    206                 Math.round(lon() * 10e7) / 10e7d
     205                Math.round(lat() * 10e6) / 10e6d,
     206                Math.round(lon() * 10e6) / 10e6d
    207207        );
    208208    }
Note: See TracChangeset for help on using the changeset viewer.