diff --git a/OsmAnd-java/src/net/osmand/LocationConvert.java b/OsmAnd-java/src/net/osmand/LocationConvert.java index 3c40eb52dc..222dbe45e6 100644 --- a/OsmAnd-java/src/net/osmand/LocationConvert.java +++ b/OsmAnd-java/src/net/osmand/LocationConvert.java @@ -131,7 +131,7 @@ public class LocationConvert { coordinate = -coordinate; } - DecimalFormat df = new DecimalFormat("###.#####", new DecimalFormatSymbols(Locale.US)); //$NON-NLS-1$ + DecimalFormat df = new DecimalFormat("##0.00000", new DecimalFormatSymbols(Locale.US)); //$NON-NLS-1$ if (outputType == FORMAT_MINUTES || outputType == FORMAT_SECONDS) { int degrees = (int) Math.floor(coordinate); sb.append(degrees);