Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
r00fus
on Sept 19, 2023
|
parent
|
context
|
favorite
| on:
64-bit bank balances ‘ought to be enough for anybo...
> 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?
ska
on Sept 19, 2023
[–]
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.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Do these rounding rules need to vary by jurisdiction?