$total = $total + $lineprice;
$total = number_format($total,2);
this is the code i use for getting a decimal, but when the $total is over 1000 it's shown as 1,000 and the total becomes 1,00
any solution for this?
here is an example might make it more clear:
http://img690.imageshack.us/img690/8484/voorbeelde.jpg