toFixed() 方法可把 Number 四舍五入为指定小数位数的数字。

http://www.w3school.com.cn/js/jsref_tofixed.asp

posted @ 2013-02-18 22:39  Anjey  阅读(348)  评论(0编辑  收藏  举报