Tag Archives: IE9

Strange Javascript numbers in IE9

I got a strange error today. I loaded some data using Ajax from a Domino view.

Looped thru the data and did some addition with the numbers. Nothing strange with this and
this code have been in production for a long time.


This code stopped working in IE9 both with and without compability mode. The code worked in Chrome and Firefox. If I ran the code using the IE9 debugger it also worked. But in IE9 it started to display the last parttot in the tot variable.

Strange or what???
It gets more strange. I changed the code to


and now the code works in all browsers.