java DecimalFormat保留兩位小數,四捨五入記錄

            int k =3;code             int credsum=11; orm             float num= (float)k/credsum;             DecimalFormat df = new DecimalFormat("#.00");             df.setRoundingMode(RoundingMode
相關文章
相關標籤/搜索