java.text提供了NumberFormat類別來讓我們更方便的格式化數字的呈現方式,用法如下:. NumberFormat nf = NumberFormat.getInstance(); System.out.println(nf.format( ...
確定! 回上一頁