如何控制float类型小数点后的位数 java.text.DecimalFormat df = new java.text.DecimalFormat("########.00"); df.format(11.12356);