Zeros after a Decimal

admin

Administrator
Staff member
Does anyone know how to display Zeros after a decimal? IE and Netscape both drop trailing zeros which makes currency values look - not so great (ex: 25.5 instead of 25.50).

I managed to get IE 5.5 to display the zeros by using "toFixed()" - but that won't work in Netscape (and I'm not sure about previous versions of IE).

Any advice will be greatly appreciated.

Thanks.
 
Top