4 ms·
I can't find a proper citation, but rounding is undefined. The recommended guideline[0] is to round to the nearest 5¢. This article from 2013 is my closest ci
by samueldr 4y ago
I can't find a proper citation, but rounding is undefined.
The recommended guideline[0] is to round to the nearest 5¢.
This article from 2013 is my closest citation to "undefined behaviour"[1]
> These guidelines are only a suggestion though and there is currently no law that specifies how retailers must round.
I don't know since ~2013 if anything has been decided to make those guidelines "law". I couldn't find anything quickly in the SEO cesspool that is modern web search.
[0] https://www.canada.ca/en/revenue-agency/programs/about-canada-revenue-agency-cra/phasing-penny.html https://www.canada.ca/en/revenue-agency/programs/about-canad...
[1] https://cba.ca/phasing-out-the-penny-in-canada https://cba.ca/phasing-out-the-penny-in-canada
- bawolff 4y agoIn practise, as a canadian, i have never had a merchant cheat me out of a penny. But honestly, if it did happen,i doubt i would care.
- gizmo686 4y agoIn practice, as an American, we have a custom of paying merchants to cheat us out of a penny. As in, if a charge come out to $4.99, we hand the cashier a $5 bill and a penny, with the expectation of not receiving change. We also have leave-a-penny-take-a-penny trays by some cash registers with free pennys funded by customer donations.