Hacker News new | ask | show | jobs
by UltraSane 93 days ago
Money should never be stored using floating point variables. That is why the Decimal type exists and why IBM Mainframes have hardware acceleration for binary coded decimal math.