Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] How to round up the handling fee and sales tax




Hi there,

We have setup the shiping and handing fee based on the sub-total of the
order, and the minivend calculate the handlnig fee correctly.  

zzz     Handling    [subtotal noformat=1]   0       0       e f
{'round' => "0.1",'ups' => "0",'ui_ship_type' => "_subtotal",}
zzz     Handling    [subtotal noformat=1]   0       999999  f
[subtotal noformat=1] * 35 / 1000     {}      {}

but we have a round of problem, such as:

	subtotal	$250.00
	sales tax	 $20.63
	S&H		  $5.32
	=======================
	total	        $275.94     <==== (should be $275.95)

I think the problem is because minivend didn't round off the S&H fee, and
the sales tax. So my quesiont is: are there any way to round of the
calculate in the shipping.asc to avoid this problem .

thanks very much.

Wen 



_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: