Hacker News new | ask | show | jobs
by nogridbag 615 days ago
I personally went with Joda money versus the Java money API mentioned above. Our needs are a bit simpler and the Joda Money API is a bit simpler to understand. Our app only deals in USD so I wrote a small utility class to help initialize Money instances so devs don't have to write:

    Money.of(CurrencyUnit.USD, amount)
...everywhere and do a few other things like total Money instances.