NumberFormat nf = NumberFormat.getInstance();nf.setMaximumFractionDigits( 2 ); //小數後兩位System.out.
cookiesp.pixnet.net