摘要: 1 // 返回数字 2 function removeFormatMoney(s) { 3 return parseFloat(s.replace(/[^\d\.-]/g, "")); 4 } 5 6 /* 7 * formatMoney(s,type) 8 * 功能:金额按千位逗号分隔 9 * 参 阅读全文
posted @ 2016-03-02 08:37 fanhq 阅读(8700) 评论(1) 推荐(0) 编辑