public final class DecimalFormatConst extends Object
0 指定位置不存在数字则显示为0 123.123 + 0000.0000 = 0123.1230 # 指定位置不存在数字则不显示 123.123 + ####.#### = 123.123 . 小数点 % 会将结果数字乘以100 后面再加上% 123.123 + #.00 = 1.3212%参考资料: [DecimalFormat](https://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html) [java中decimalFormat格式化数值](https://www.cnblogs.com/zhaod/p/8811093.html)
Copyright © 2021. All rights reserved.