REally simple one I'm sure but I can't seem to find the answer - I'm trying to output a number to two decimal places using....
$price = round($price, 2);
This works fine until unless applied to either a whole number or a number which only has 1 decimal place, for example 1 is output as 1 and 0.5 is output as 0.5 (i want it to add the two decimal placess and output 1.00 and 0.50).
Thanks in advance for your help!
Neil.