Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pbreit
· 11y ago · 0 comments
So, best way to store currency amounts? Cents or decimal? Would the answer change based on platform or DB (i.e., Python, Postgres)?
Comments
[–]
AlterEgo20
11y ago
Any SQL DBMS is able to store and handle NUMERIC data type. It is a binary decimal with any precision you may want.
Some of the DBMS's also have dedicated currency types.