摘要: function toDecimal2(x) { var f = parseFloat(x); if (isNaN(f)) { return false; } var f = Math.round(x*100)/100; var s = f.toString(); var rs = s.indexOf('.'); if (r... 阅读全文
posted @ 2018-01-19 11:14 abcByme 阅读(2150) 评论(0) 推荐(0) 编辑