I'm currently having a problem formatting numeric values. I have a simple calculation total=(quantity*price). I want total to always display with 2 decimal point. That doesn't work all the time. When there's a total such as 2.50, I get a display 2.5 instead. Any clues?
Thanks.
$number = number_format($number, 2, ",", ".");
That was quick.
Thanks a bunch.