[eluser]Unknown[/eluser]
Hello, I have a question, I've been using the Cart class and it works great however I was wondering what can I do, so for even numbers when the total is calculated, it doesn't take the two zeros for the decimal points off
So if I have
$data = array(
array(
'id' => 'sku_123ABC',
'qty' => 1,
'price' => 39.00,
'name' => 'T-Shirt'
),
array(
'id' => 'sku_567ZYX',
'qty' => 1,
'price' => 9.00,
'name' => 'Coffee Mug'
)
);
$this->cart->total();
Shows 48.00 instead of 48
Thanks