java.text.DecimalFormat nf = new java.text.DecimalFormat("00.00"); //.00表示小数点后面多少位 nf.format(1.7E6);---1700000.00