October 26, 2007
A little snippet showing the marvels of javascript floating point numbers while counting by0.03... Click here to start....Posted by jeff at October 26, 2007 08:07 AMvar count; function startCounting() { count = 0; setInterval("step()",500); } function step() { count += 0.03; document.getElementById("count").innerHTML = count; }
