四舍五入取小数点后n位Math.round

Math.round(zongjia*100)/100

posted @ 2015-03-12 09:31  webnote  阅读(86)  评论(0编辑  收藏  举报