...

View Full Version : decimal point round up



ColinMills
03-02-2012, 03:40 PM
I need to round up the amount drawn in from zen cart for payment processing as below to 2 decimal places.

can anyone help with additional code required

zen_draw_hidden_field('mainamount', $order->info['total']) .

super3
03-02-2012, 06:10 PM
Here is the code for that:
http://bit.ly/zgf50Z



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum