If I have a number with a 2nd decimal as 0 (i.e. 2.80) is there a way to ensure PHP writes it that way?
Right now it automatically drops the trailing 0, but I need to keep it for formatting reasons.
this will do the trick.
number_format($num,2) ;
thanks works great.