Mobile app version of vmapp.org
Login or Join
Angie530

: Calculating payment: what kind of rounding should be used? There are several different methods of rounding. When developing a website that requires calculating a payment, between promotional codes,

@Angie530

Posted in: #Ecommerce #Money

There are several different methods of rounding. When developing a website that requires calculating a payment, between promotional codes, sales tax, credit card processing fees, it's possible end up with a total that results in a fraction of a penny.

What kind of rounding should be used when converting the total to two decimal places?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Angie530

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

It depends on your location. The Australian department of commerce has very specific rules for rounding transactions that differ whether it is cash or credit transaction.

In the US, I find a handful of articles about rounding such as this case with Chipotle. Based on this, it does not appear that there are US laws that govern it, but that rounding could be a public relations issue if done in a way that seems unfair to consumers.

Rounding using the "nearest" rule is most widely used. When exactly half way between two values, round up (the non-scientific rounding method). This would appear to satisfy the legal requirements that I have found, as well as appearing fair to consumers.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme