js为数字添加千位分隔符
摘要:
1.字符串处理比较复杂 function test(str){ var iNum = str.length % 3; var prev = ''; var iNow = 0; var temp = ''; var arr = []; if (iNum != 0){ prev = str.substr 阅读全文
posted @ 2016-04-21 17:09 flsummer 阅读(1341) 评论(0) 推荐(0) 编辑