摘要: function percent(s, e, i){ s = Number(s), isNaN(s) && (s = "0"); var n = "%"; return e === !1 && (n = ""), parseFloat((100 * s).toFixed(i)) + n}s 需... 阅读全文
posted @ 2015-03-05 11:10 喵尾景虎 阅读(625) 评论(0) 推荐(0) 编辑