Store monetary amounts as numeric/decimal so values are exact; binary floats introduce rounding errors.
Why This Matters
float4/float8 cannot represent most decimal fractions exactly, so sums and comparisons of money drift and fail reconciliation.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.