top | item 42996982

(no title)

daggersandscars | 1 year ago

Rounding is generally done only for cash transactions (“cash rounding”). For all other payment types, the unrounded price is used.

I wrote code for this a long time ago when cash was still a major form of payment in a country that got rid of sub 0.05 coins. There were various rules to try to ensure neither the seller or buyer always benefited.

https://en.m.wikipedia.org/wiki/Cash_rounding

discuss

order

bdhcuidbebe|1 year ago

The rounding up will be done by the merchant when he updstes the prices, and the buyer will always lose.

No code will save you here.

rstuart4133|1 year ago

I come from a country that has rounding. The unrounded price always shown on the shelf, and is what you pay unless it's cash.

If you do pay cash, it's not the item's price that's rounded, it's the total. That's important because the amount being rounded is essentially random, so the shop can't chose a price that would be rounded in one direction. In a $10 purchase using 0.05 rounding the maximum difference amounts to 0.4%, but is usually 0.2% or less. It's so small it could be used as an advertising gimmick, and consequently some retailers chose to always round down. The remainder went with rounding to the nearest with the lowest value winning in a tie.

I do not remember a single one always rounding up. That would be a customer relations disaster.

firesteelrain|1 year ago

I think GP is saying that, when paying with cash, because there is no option for sub-5c prices, the only option is to round to the nearest 5c.

If price is $1.03 then for cash customers, the price has to become $1.05. If paying debit or credit card then the price can stay $1.03 because there is no cost for computing pennies.

The optics of the change is that it does cost more for the consumer if paying cash and if you have a society that wants to push more people to digital transactions then this is how you start to do it along with the optics and ramifications that go with it.

digitalPhonix|1 year ago

How? If you price something at $1.03 so that it rounds up to $1.05, someone who buys two will get it rounded down to $2.05