The Maths Behind 10 Shopping Calculators (with JavaScript Snippets)Originally published on DEV. Shopping maths looks trivial until you try to code it. "20% off, then an extra 10% with a voucher" is not 30% off. Removing VAT is not "minus 20%". And "free delivery over1d ago · 4 min readprimevoucher.hashnode.dev