摘要: var a=3.5;a.toFixed(2);结果为:3.50toFixed方法的解释:toFixed() 方法可把 Number 四舍五入为指定小数位数的数字。 阅读全文
posted @ 2014-11-30 17:00 EleMMent 阅读(291) 评论(0) 推荐(0)