Y
Hacker News
new
|
ask
|
show
|
jobs
by
eriksencosta
613 days ago
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.
https://martinfowler.com/eaaCatalog/money.html