DecimalFormat formatter = new DecimalFormat("#,###.##"); System.out.println(formatter.format(123456789)); //結果: 123,456,789.
確定! 回上一頁