摘要: var num = 3.1415926;var num = parseFloat(num.toFixed(2)); //toFixed();得到的是一个字符串 阅读全文
posted @ 2016-09-18 16:37 ning0_o 阅读(159) 评论(0) 推荐(0) 编辑