System.out.printf("%f", d); // "f"表示格式化输出浮点数。 System.out.println(); System.out.printf("%9.2f", d); // "9.2"中的9表示输出的长度,2表示小数点后的位 ...
確定! 回上一頁