Hi list,I have an issue with a customer's order that had a 15% discount on all items. One of the items showed after the discount as $12.32, but if I look at "Edit Order" in the UI, it shows 12.325.
This extra decimal place carried over to the total (though not visible to the customer), which caused the credit card charge to round their total up a penny, contrary to what IC told them it would be.
Our perl tag code for the discount is:
$Session->{discount}{ALL_ITEMS} = '$s * ' . $discount;
If you feed that $14.50 with a discount of 15%, it will indeed return
12.325. Somehow, I either need the discount tag to remove the third
decimal place, or else the subtotal should remove it.
Any thoughts? Thanks, -- Josh Lavin Kingdom Design http://www.kingdomdesign.com/ _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.