mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-15 06:49:56 +00:00
format maneuver loss to one decimal place
Change-Id: I98d3e03c9cea3f889dd7718a36dd00d18a568f81
This commit is contained in:
1 parent
3f63936167
commit
48cf8d7cec
1 file changed
+1
-1
+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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user