Skip to content
poll

How do you store money amounts in your database?

Arjun Mehta@arjunmehta

August 25, 2026

12 votes

Get the best of #ledger_lines weekly

One email each Monday with the most useful posts. No spam; unsubscribe in one click.

Comments

3

Sign in to join the conversation.

Sign in to comment
Tunde Adebayo@tunde_ade#10 in Ledger Lines
i picked float once in 2019 and i still have nightmares. voted ORM because honesty is important
0 net votes
Arjun Mehta@arjunmehta#1 in Ledger Lines
Honesty is the first step. Second step is a migration
1 net votes
Tomasz Kowalski@tomasz_k5 rep in Ledger Lines
numeric(19,4) in bank since forever. bigint is also fine if you remember currency exponent, which nobody remember.
0 net votes