1.宝箱逻辑修改

2.添加音乐去掉共享音乐
This commit is contained in:
huangjian
2020-05-11 16:42:44 +08:00
parent 88844c3a70
commit 0ebcc679dd
17 changed files with 113 additions and 36 deletions

View File

@@ -21,6 +21,16 @@ public class FormatUtils {
return "0.00";
}
public static String formatBigInteger(double bigDecimal) {
try {
DecimalFormat decimalFormat = new DecimalFormat("#,##0");
decimalFormat.setRoundingMode(RoundingMode.HALF_UP);
return decimalFormat.format(bigDecimal);
} catch (Exception e) {
}
return "0";
}
/**
* 把过长的金额类数字,转换成两位小数带万,亿,兆 缩写
* 10000.00 -> 1.00万 丢掉两位小数后面的小数