Beaufort should only be expressed by int

This commit is contained in:
Simon Pamies committed 2014-01-13 17:35:00 +01:00
1 parent 3969a13a2e
commit 7b42cc5f8e
1 file changed
+1 -1
@@ -130,7 +130,7 @@ public class LeaderboardData extends ExportAction {
}
windElements.add(createNamedElementWithValue(prefix+"speed_in_knots", speedWithConfidence.getObject().getKnots()));
windElements.add(createNamedElementWithValue(prefix+"speed_in_meters_per_second", speedWithConfidence.getObject().getMetersPerSecond()));
windElements.add(createNamedElementWithValue(prefix+"speed_in_beaufort", speedWithConfidence.getObject().getBeaufort()));
windElements.add(createNamedElementWithValue(prefix+"speed_in_beaufort", Math.rint(speedWithConfidence.getObject().getBeaufort())));
windElements.add(createNamedElementWithValue(prefix+"confidence", speedWithConfidence.getConfidence()));
double speedInKnots = speedWithConfidence.getObject().getKnots();