Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rvnx
on Sept 19, 2023
|
parent
|
context
|
favorite
| on:
64-bit bank balances ‘ought to be enough for anybo...
They use integers to store cents or fraction of cents, and that's it (or the equivalent of MySQL "DECIMAL" format if not using integers)
DamonHD
on Sept 19, 2023
[–]
When you say "they" I could tell you exactly what format we stored card balances in, including the implied point position for different currencies (not the same for GBP and (say) JPY) and none of it involved DECIMAL!
rvnx
on Sept 19, 2023
|
parent
[–]
> They use integers to store cents or fraction of cents or DECIMAL as alternative if not using integers
Seemed rather clear, what's difference with what you say ?
DamonHD
on Sept 19, 2023
|
root
|
parent
[–]
I referred to 'they' for my clients and start-up. You seemed to be making claims about those particular implementions, which seemed a bit odd.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: