摘要: /* 格式化金额 */function formatAmount(s, n) { n = n > 0 && n <= 20 ? n : 2; s = parseFloat((s + "").replace(/[^\d\.-]/g, "")).toFixed(n) + ""; var l = s.sp 阅读全文
posted @ 2016-02-18 15:28 会痛的-石头 阅读(180) 评论(0) 推荐(0) 编辑