| problem setting prices in 2 digits problem setting prices in 2 digits |
wnshops

msg:4381477 | 3:28 am on Oct 31, 2011 (gmt 0) | I need help. I am work on the prices lists $22.00 but the Incorrect price $22.000 display. Help what is a code to set up
|
Mahabub

msg:4381531 | 9:26 am on Oct 31, 2011 (gmt 0) | Here Is the Solution... number_format($number, 2, '.', ''); Thanks Mahabub
|
rocknbil

msg:4382171 | 5:13 pm on Nov 1, 2011 (gmt 0) | echo sprintf("%.2f",$number);
|
|
|