The below javascript code is working fine in Internet Explorer but not working in Firefox and Google chrome
var prand=11211411110311410111511510511111068508491;
//This is the value of variable prand that i get after calculation
prand = parseInt(prand.substring(0, 10)) + parseInt(prand.substring(10, prand.length))).toString();
//After this calculation I'm getting the expected result in IE,but the value is coming different in Firefox and Chrome
I have sorted out some more information ...
On alerting parseInt(prand.substring(10, prand.length))
, it's showing
232332021465786650000
on IE and 3.114101115115105e+29
on Chrome