Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Wrong Calculations

    It is charging a penny more for sales tax

    Sub-Total:

    $10.00
    Ground Shipping (Shipping Rate for the Lower 48 States.):

    $0.88
    ME Sales Tax:

    $28.28
    Total:


    My sales tax rate is 5%

    Should only be .87 cents

  2. #2
    Join Date
    Nov 2006
    Posts
    69
    Plugin Contributions
    0

    Default Re: Wrong Calculations

    Quote Originally Posted by CnTGifts View Post
    It is charging a penny more for sales tax

    Sub-Total:

    $10.00
    Ground Shipping (Shipping Rate for the Lower 48 States.):

    $0.88
    ME Sales Tax:

    $28.28
    Total:


    My sales tax rate is 5%

    Should only be .87 cents
    I seem to recall chasing something similar with australian gst
    in the end it was to do with php's round function.
    what was the base price and tax inc price of the above order?

  3. #3
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Re: Wrong Calculations

    Subtotal was $17.40

  4. #4
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Re: Wrong Calculations

    It was two 8.70 items i had in the shopping cart the tax on one 8.70 item would be 0.435 so they are rounding it up to .44 which is normal to do, but if you buy 2 of them it should input the correct tax which would come out to .87 cents

    0.435 x 2 is .87 cents not the .88 the cart charges

  5. #5
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Re: Wrong Calculations

    Anyone have any idea why it does this

  6. #6
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Wrong Calculations

    In the admin, where you set up currencies, there is a setting for the number of decimal places. Usually this is set to 2, but if you set it to 3 it will now round after the third digit, which will give the correct tax. Unfortunately, this setting will also show 3 digits after the decimal on your visible prices as well.

    That's the way Zen Cart is at the moment. I hope in future we can have two settings there -- one for calculations and one for display.

    Down at the bottom of this page there are some Similar Threads with more discussion in them.

    Rob

  7. #7
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Re: Wrong Calculations

    Hmm weird. yeah that would be a nice feature to have

 

 

Similar Threads

  1. Shipping Calculations Wrong
    By matchlock in forum Addon Shipping Modules
    Replies: 2
    Last Post: 28 Jun 2011, 02:13 PM
  2. Wrong tax calculations
    By staypop in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 23 Dec 2008, 11:25 PM
  3. Wrong Calculations for Int'l Shipping?
    By scoutj in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 28 Jan 2007, 10:09 PM
  4. coupons and wrong tax calculations?
    By etoile03 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 10
    Last Post: 29 Sep 2006, 05:57 PM

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