2011-09-19 101 views

回答

32

DecimalFormat的使用字符串(因此分配額外的內存),一筆大開銷相比

(float)Math.round(value * 100)/100 
相關問題