1.宝箱逻辑修改
2.添加音乐去掉共享音乐
This commit is contained in:
@@ -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万 丢掉两位小数后面的小数
|
||||
|
Reference in New Issue
Block a user