Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kenn Jacobsen 133 posts 791 karma points MVP 4x c-trib
    Sep 16, 2011 @ 10:43
    Kenn Jacobsen
    0

    Unit price is calculated a thousand times more expensive than entered

    Hi Guys,

    I've run into the same VAT issue as reported earlier (http://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/22997-VAT-issue), so now I've got to enter my unit prices without VAT and disable the "Prices in DB incl. VAT" option in General settings. So far so good, that works ok.

    Now... when I deduct VAT from my unit prices, I sometimes end up with prices with three decimals. These prices need to be exactly that to end up with a pretty price when displayed with VAT. Problem is - prices listed with three decimals are calculated by Tea Commerce to be 1000 higher than entered. Kinda not what I expected... :-)

    Of course, being curious I entered another decimal, ending up with four decimals. Lo and behold, now the price is calculated as being 10000 times higher than the entered price.

    I have tried changing culture on the currency without luck. 

    I'm running the latest beta version (1.4.1.1 BETA).

    Kindly do the needful :-)

    ~Kenn

  • Rune Grønkjær 1371 posts 3102 karma points
    Sep 16, 2011 @ 10:52
    Rune Grønkjær
    0

    Hi Kenn,

    I did some fixing on that one in the very latest version of the BETA. Problem was that we tried to take thousands separators into account, which fracked up the price when the decimals was 3 or more.I have removed that and we now only support decimal separators.

    Please try the BETA currently available and see if the problem have been fixed?

    /Rune

  • Kenn Jacobsen 133 posts 791 karma points MVP 4x c-trib
    Sep 16, 2011 @ 11:00
    Kenn Jacobsen
    0

    That did the trick,

    Thanks :-)

  • Rune Grønkjær 1371 posts 3102 karma points
    Sep 16, 2011 @ 11:02
    Rune Grønkjær
    0

    Cool. That's good.

Please Sign in or register to post replies

Write your reply to:

Draft