News for hackers. Stuff that matters.
Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? by r00fus on Tuesday September 19, 2023 @12:48PM (#37572654)
> For accounting you should only ever use arbitrary precision math library with ability to specify rounding rules

Do these rounding rules need to vary by jurisdiction?

Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? by ska on Tuesday September 19, 2023 @12:52PM (#37572720)
Absolutely. IIRC most tax codes have specific rounding rules. Also e.g. some countries have done away with pennies or penny equivalents and have rules about how you are supposed to handle that, etc.