liusheng
20 小时以前 6b72087037df825fb29b41b1045fc6f7fa121165
处理科学计数法的BUG
已修改1个文件
2 ■■■ 文件已修改
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java
@@ -769,7 +769,7 @@
    }
    public static String convert(Double money) {
        String smoney = money.toString();
        String smoney = BigDecimal.valueOf(money).toString();
        try {
            if (smoney.indexOf(".") != -1) {                        //把数值分为整数型和带小数的数值分开处理。
                String left = smoney.substring(0, smoney.indexOf("."));