format maneuver loss to one decimal place

Change-Id: I98d3e03c9cea3f889dd7718a36dd00d18a568f81
This commit is contained in:
Axel Uhl committed 2016-03-16 18:07:37 +01:00
1 parent 3f63936167
commit 48cf8d7cec
1 file changed
+1 -1
@@ -2033,7 +2033,7 @@ public class RaceMap extends AbsolutePanel implements TimeListener, CompetitorSe
+ " -> " + NumberFormat.getDecimalFormat().format(after.speedInKnots) + " "
+ stringMessages.knotsUnit() + ")"));
if (maneuver.maneuverLossInMeters != null) {
vPanel.add(createInfoWindowLabelAndValue(stringMessages.maneuverLoss(), ""+maneuver.maneuverLossInMeters+"m"));
vPanel.add(createInfoWindowLabelAndValue(stringMessages.maneuverLoss(), NumberFormat.getFormat("0.0").format(maneuver.maneuverLossInMeters)+"m"));
}
return vPanel;
}