Fix DecimalFormat

This commit is contained in:
Fuzzlemann 2017-07-25 23:04:34 +02:00
parent 6a3a27488e
commit 03722cf614

View File

@ -170,7 +170,7 @@ public class MathUtils {
return biggest.isPresent() ? biggest.getAsLong() : 1;
}
private static final DecimalFormat df = new DecimalFormat("#.##");
private static final DecimalFormat df = new DecimalFormat("#'.'##");
/**
* Rounds the double to a double with two digits at the end.