From 738dec7bd8cdc20ad6e65a49906ae992fc8b6376 Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 25 Jun 2013 01:59:59 +0200 Subject: [PATCH] correct milliseconds --- OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java b/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java index cc8a8248a9..284e9ee10f 100644 --- a/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java +++ b/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java @@ -221,7 +221,7 @@ public class LocalIndexHelper { if(timeMoving > 0){ info.setDescription(info.getDescription() + app.getString(R.string.local_index_gpx_info_speed, - OsmAndFormatter.getFormattedSpeed((float) (totalDistance / timeMoving), app), + OsmAndFormatter.getFormattedSpeed((float) (totalDistance / timeMoving * 1000), app), OsmAndFormatter.getFormattedSpeed(maxSpeed, app))); } else { // Averaging speed values is less exact than totalDistance/timeMoving