标签:
Double amount = 100;DecimalFormat dcmFmt = new DecimalFormat("0.0000"); String amountStr = dcmFmt.format(amount)
设置类型Double小数点位数
原文地址:http://www.cnblogs.com/clovem/p/5664534.html