Double amount = 100;DecimalFormat dcmFmt = new DecimalFormat("0.0000"); String amountStr = dcmFmt.format(amount)
时间: 2024-10-28 23:02:51
Double amount = 100;DecimalFormat dcmFmt = new DecimalFormat("0.0000"); String amountStr = dcmFmt.format(amount)