float price=1.2; //构造方法的字符格式这里如果小数不足2位,会以0补足 DecimalFormat decimalFormat = new DecimalFormat(".00"); //format 返回的是 ...
確定! 回上一頁