aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-12 16:05:43 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-12 16:05:43 +0500
commita678177768cba7aaf0912e2c0765af7a8bd075c3 (patch)
tree8a7739087140899171f47acb85e20a82bc407ef3
parent89af2b67e7b7d3404204658f44d1fa48626ae6de (diff)
downloadtraccar-server-a678177768cba7aaf0912e2c0765af7a8bd075c3.tar.gz
traccar-server-a678177768cba7aaf0912e2c0765af7a8bd075c3.tar.bz2
traccar-server-a678177768cba7aaf0912e2c0765af7a8bd075c3.zip
Removed unnecessary rounding
-rw-r--r--src/org/traccar/reports/Summary.java1
1 files changed, 0 insertions, 1 deletions
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;
}