java.math.BigDecimal不可变的、任意精度的有符号十进制数。BigDecimal由任意精度的整数非标度值和32位的整数标度(scale)组成。如果为零或正数,则标度是小数点后的位数。如果为负数,则将该数的非标度值乘以10的负scale次幂。因此,BigDecimal表示的数值是(unscaledValue×10-scale)。与之相关的还有两个类:java.math.MathCon......
-
-
数字转汉字工具类
/***数字转汉字工具类**@author:Nemo2017年7月14日*/publicclassNumberUtils{privatestaticfinalString[]UNITS={"","十","百","千","万","十","百","千","亿","十","百","千",};privatestaticfinalString[]NUMS={"零","一","二","三","四","五","......1,824 0 2017-09-12 11:12