2011-09-19 98 views

回答

32

DecimalFormat的使用字符串(因此分配额外的内存),一笔大开销相比

(float)Math.round(value * 100)/100 
相关问题