在Java裡,要讓float或double型態輸出成整數或一定的格式,通常都會使用printf來控制 ... 9, DecimalFormat formatter = new DecimalFormat( "#.
確定! 回上一頁