(no title)
daggersandscars | 1 year ago
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.
bdhcuidbebe|1 year ago
No code will save you here.
rstuart4133|1 year ago
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
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