摘要:
function numTransfrom(num){let int,float,strArr,str="";function numb(int, str, len){ let i = len - 3; if (i > 0) { str = "," + int.substr(i, 3).concat 阅读全文
摘要:
function formatNum(str) { var newStr = ""; var count = 0; // 当数字是整数 if (str.indexOf(".") == -1) { for (var i = str.length - 1; i >= 0; i--) { if (coun 阅读全文