设置最少小数点位数,不足的位数以0补位,超出的话按实际位数输出。 NumberFormat. ... setGroupingUsed(false); } String result = nf.format(num); ...
確定! 回上一頁