How do you store money amounts in your database?
Arjun Mehta@arjunmehta
Get the best of #ledger_lines weekly
One email each Monday with the most useful posts. No spam; unsubscribe in one click.
Comments
Sign in to join the conversation.
Sign in to commentTunde Adebayo@tunde_ade
i picked float once in 2019 and i still have nightmares. voted ORM because honesty is important
Tomasz Kowalski@tomasz_k
numeric(19,4) in bank since forever. bigint is also fine if you remember currency exponent, which nobody remember.