mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-19 10:39:59 +00:00
Beaufort should only be expressed by int
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user