Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Increment counter formatting Re: Increment counter formatting

#116371
Watson90
Member

I don’t see the point behind having it on your website anyway as it’s not really a true reflection on the amount you’re exactly saving to be honest…

But i just ran your code through [JSLint](http://www.jslint.com/ “”) on the JSFiddle website and it threw back a few errors.

Try changing this;

var number = ;

To this;

var number = (int)((time()-1262325600)/150);

This is what I got – Here