Zen Cart Logo
Forums / Customization from the Admin / Currency Setting of Decimal Places vs pricing to 5 decimal places?

Currency Setting of Decimal Places vs pricing to 5 decimal places?

Views: 1,880

Results 1 to 1 of 1
20 Aug 2013, 16:16
#1
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Currency Setting of Decimal Places vs pricing to 5 decimal places?

Hello all!

In my shop everything is priced by a running charge and since it is printed paper the unit cost is expressed in decimals (up to 5 i.e. $0.01491). If I set it to 5 decimals under currency in admin, my prices come out correct using the DPU module (Dynamic Price Updater) if I use 2 decimal places in currency setting the unit price is rounded up or down and doesn't calculate correctly when multiplied by the quanity...the only problem I have with using the 5 decimal places setting under currency is the total price show 5 digits on the product page, price breakdown box and in the shopping cart. Is there a way to truncate the 5 decimal places to 2 but only in these 3 places, leaving the unit pricing to 5 decimal places???

Best example is here: http://www.discountprintingservice.com/carbonless-forms-c-66/2-part-carbonless-forms-414-x-512-p-225.html

:shocking:

Thanks guys!
John