6 min read
How to Store Exchange Rates in a Database: Column Types and Schema
Float columns quietly corrupt money. Learn which SQL type to use for exchange rates and amounts, what metadata to keep with every rate, and how to convert inside the database.