Hacker News new | ask | show | jobs
by eriksencosta 613 days ago
You are right. Languages indeed have support for currencies and decimal numbers. My implementation is based on Fowler's Money pattern. The Money object is thus a value object representing a monetary amount in a given currency.