15928045575 2 rokov pred
rodič
commit
9bc8cbc6eb

+ 1 - 1
slope-modules/slope-detection/src/main/java/com/sckw/slope/detection/service/BackTrackService.java

@@ -264,7 +264,7 @@ public class BackTrackService {
                         offsetValue = subtract;
                     }
                     double number = offsetValue.doubleValue();
-                    DecimalFormat decimalFormat = new DecimalFormat("#.00");
+                    DecimalFormat decimalFormat = new DecimalFormat("0.00");
                     String result = decimalFormat.format(number);
                     Map<String, Object> temp = new HashMap<>();
                     temp.put("time", key);