yys
maven
昨天 9d71b9bf1ec9e8597da70582f9eb7df580f3d58b
src/main/java/com/ruoyi/common/utils/Arith.java
@@ -108,7 +108,6 @@
                    "The scale must be a positive integer or zero");
        }
        BigDecimal b = new BigDecimal(Double.toString(v));
        BigDecimal one = new BigDecimal("1");
        return b.divide(one, scale, RoundingMode.HALF_UP).doubleValue();
        return b.divide(BigDecimal.ONE, scale, RoundingMode.HALF_UP).doubleValue();
    }
}