将数字进行千位格式化
?
//将数字进行千位格式化var f = new String(value);f = f.split("").reverse().join("").replace(/(\d{3})/g,"$1,").split("").reverse();if(f[0]==','){f.shift();}f = f.join("");