Discount percentage with only 2 decimal digits after the comma
-
Hi there
I have a problem with certain discount percentages on my online-shop. In the product i provided you with, the regular price for 1 piece is 231 swiss francs. In this case, the price for 5 pcs should be 173 swiss francs, the plugin calculates this as a discount of 25.11%. The price for 10 pcs should be 132 swiss francs. That would be a discount of 42.86%. But here’s where the problem starts. It looks like, that the discount of 42.86% isn’t exactly 132 swiss francs, but 131.99 swiss francs.
So, my question is:
– is it possible to enter 4 digits after the comma as discount %?
– or is it somehow possible to round up such digitsIn Switzerland, the 1 “penny” doesn’t exist, the smallest coin you can get is 5 “pennys”, so that’s a bit of a problem…
I guess my problem is similar to the one here: https://www.ads-software.com/support/topic/rounding-issue-3/
The page I need help with: [log in to see the link]
- The topic ‘Discount percentage with only 2 decimal digits after the comma’ is closed to new replies.