Every developer meets the same surprise sooner or later: 0.1 + 0.2 does not equal 0.3. In a toy program, that is a curiosity. In a ledger, it becomes a reconciliation report that never balances. In this article, we see why double cannot hold money, how BigDecimal fixes it, and why many payment systems prefer …