Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2005
    Location
    Australia
    Posts
    15
    Plugin Contributions
    0

    Rounding up and rounding down how to stop this?

    I have used Zen cart before but with older versions and never had this issue before - I have looked everywhere but cant find a fix for it - lets say for example I want to price an item at $8.99 it rounds it up to $9.00 - anything from $8.50 and up rounds up to $9.00 and anything $8.01 to $8.49 rounds down to $8.00 can anyone shed any light for me as to why this is happening? My store is set to run with AUD and I have the value set to $1.000000000 in the currency area if this helps.

    Thanks in advance for any help.

    Kazz

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Rounding up and rounding down how to stop this?

    Could you post your currency settings?

    Perhaps an URL to your site as well ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Mar 2005
    Location
    Australia
    Posts
    15
    Plugin Contributions
    0

    Default Re: Rounding up and rounding down how to stop this?

    NP :)

    My currency settings are as follows...

    Title: Australian Dollar
    Code: AUD

    Symbol Left: $
    Symbol Right:

    Decimal Point: .
    Thousands Point: ,
    Decimal Places: .

    Last Updated:
    Value: 1.00000000

    Example Output:
    $30 = $30


    My URL is http://www.piercinghaven.com/shop/

    Thanks for taking a look for me :)

    Kazz

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Rounding up and rounding down how to stop this?

    Umm ... perhaps this would best be changed?

    Decimal Places: .
    Does 2 make this work better?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Mar 2005
    Location
    Australia
    Posts
    15
    Plugin Contributions
    0

    Default Re: Rounding up and rounding down how to stop this?

    YES that did it!! Thanks so much for your help :)

    Kazz

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Rounding up and rounding down how to stop this?

    You are most welcome ... thanks for letting us know that your number of Decimal Places was off and throwing the display of the prices off ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Apr 2005
    Posts
    55
    Plugin Contributions
    0

    Default Re: Rounding up and rounding down how to stop this?

    Hello


    I have a product of .64p (gp £ ) and I am applying a discount of 30% with 2 decimal points in currencies this gives a result of .45p by rounding up

    When I set 3 decimal places this gives me the correct value of .448p but this now shows pounds value at for instance £44.800

    Can I set the calculation for 3 decimal places and only show 2 ? such as £44.80

    I have currencies set as follows

    Title: GB Pound
    Code: GBP

    Symbol Left: £
    Symbol Right:

    Decimal Point: .
    Thousands Point: ,
    Decimal Places: 3

    Last Updated:
    Value: 1.00000000

    Example Output:
    £30.000 = £30.000

    Thank you in advance

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Rounding up and rounding down how to stop this?

    Which version of Zen Cart?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Apr 2005
    Posts
    55
    Plugin Contributions
    0

    Default Re: Rounding up and rounding down how to stop this?

    Sorry .... its the latest 1.3.0.2

  10. #10
    Join Date
    Mar 2005
    Location
    Tempe, AZ
    Posts
    324
    Plugin Contributions
    0

    Default Re: Rounding up and rounding down how to stop this?

    I didn't see this thread before postin gin the other one. So i am using MSRp mod and Cost margin mode, my currency setting are :

    Title: US Dollar
    Code: USD

    Symbol Left: $
    Symbol Right:

    Decimal Point: .
    Thousands Point: ,
    Decimal Places: 2

    Last Updated: 11/02/2006
    Value: 1.00000000

    Example Output:
    $30.00 = $30.00

    What's happen is when i enter a the mark up % i may get something like $19.9963, and the is shows as $20.00 when previewed or listed, what i would like it to show id jut $19.99
    Lextechs.com Powered By ZenCart

 

 

Similar Threads

  1. v151 Multiple currencies display and rounding in Orders screen
    By Buffoon in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 4 Oct 2013, 12:02 PM
  2. Discounts and rounding issue
    By simpledomaining in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 28 Nov 2011, 02:46 PM
  3. Price calculation and rounding
    By Ryk in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 6 May 2011, 05:23 PM
  4. USPS Rounding Errors -- Should never round down
    By TraderDan in forum Built-in Shipping and Payment Modules
    Replies: 20
    Last Post: 10 Aug 2009, 03:07 PM
  5. Prices, decimals, rounding and checkout
    By ErikAllan in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Apr 2009, 04:47 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