From a678177768cba7aaf0912e2c0765af7a8bd075c3 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 12 Aug 2016 16:05:43 +0500 Subject: Removed unnecessary rounding --- src/org/traccar/reports/Summary.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/org/traccar/reports/Summary.java b/src/org/traccar/reports/Summary.java index 870d3ea29..35fd80791 100644 --- a/src/org/traccar/reports/Summary.java +++ b/src/org/traccar/reports/Summary.java @@ -74,7 +74,6 @@ public final class Summary { } result.setAverageSpeed(speedSum / positions.size()); - result.setDistance(new BigDecimal(result.getDistance()).setScale(2, RoundingMode.HALF_UP).doubleValue()); } return result; } -- cgit v1.2.3