Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2016
    Location
    Scotland
    Posts
    44
    Plugin Contributions
    0

    help question Price - Decimal Places / Rounding

    Is it possible to increase the number of decimal places used to calculate price displayed in shopping cart..

    the base price of some items are low
    eg 0.0344 then with attribute of 0.0122 added it should be showing as 0.0466 rounded to 0.05
    but zencart goes the opposite way and displays price of 0.04.

    Few people ever buy just one or two, normally in the x100s often in the x1000s. On the face of it, no big deal but I like to show clear pricing for everything and it means people at worst lose out on the rounding equal to a few cents or pence on small orders. However, the way it stands, on big orders, it can cost me 20%

    cheers

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: Price - Decimal Places / Rounding

    You might take a look at the following, similar threads; there have been a couple of attempts at getting those totals correctly calculated!
    https://www.zen-cart.com/showthread....ounding-error)
    https://www.zen-cart.com/showthread....ot-add-up-quot

  3. #3
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Price - Decimal Places / Rounding

    For others in the future, it may also help to identify the current version of ZC being used, though it does appear that there remains issues even in the current release of ZC 1.5.5a...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Currency Setting of Decimal Places vs pricing to 5 decimal places?
    By GoldBuckle in forum Customization from the Admin
    Replies: 0
    Last Post: 20 Aug 2013, 05:16 PM
  2. Decimal Places
    By fredmccay in forum Basic Configuration
    Replies: 0
    Last Post: 27 Jan 2011, 03:19 AM
  3. Displaying Price to 3 decimal places
    By actionjackson57 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 4 Dec 2009, 09:16 AM
  4. 3 decimal places needed in Price
    By rstevenson in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 6
    Last Post: 18 Apr 2007, 11:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR