View Single Post
Old 11-09-2012, 06:46 AM   PM User | #3
Dormilich
Senior Coder

 
Dormilich's Avatar
 
Join Date: Jan 2010
Location: Behind the Wall
Posts: 2,863
Thanks: 9
Thanked 291 Times in 287 Posts
Dormilich is on a distinguished road
your number_format() call is wrong.

it’s
Quote:
string number_format ( float $number [, int $decimals = 0 ] )
where you have
Code:
$cartTotal = number_format(2, $cartTotal);
__________________
please post your code wrapped in [CODE] [/CODE] tags
Dormilich is offline   Reply With Quote