java 中四捨五入後並保留兩位小數的方法(以double爲例) String.format打印數字格式化說明的格式: %[argument number][flags][width][.precision]type ...
確定! 回上一頁