toNonExponential:function (num) {
var num2=new Number(num);
var m = num2.toExponential().match(/\d(?:\.(\d*))?e([+-]\d+)/);
return Number(num2.toFixed(Math.max(0, (m[1] || '').length - m[2])));
},
testmt:function(o)
{
console.log(o);
}
或者
var num = 1545646435185456415646464545+1; //1.5456464351854563e+27
num = num.toLocaleString(); //"1,545,646,435,185,460,000,000,000,000" 注意这样会丢失一些精度
num = num.replace(/[,]/g, '');
console.log(num) // 1545646435185456300000000000