Can anybody recommend a class library or a design pattern that models amounts of Money?
I guess it should support:
I.e. 19.99 USD could be serialized into "USD-2-00000001999"
(Whereas 2 indicates the number of decimals)
I would check the monetary module from the JScience project (by Jean Marie Dautelle).
Depending on your exact needs, Stephen Colebourne started Joda-Money ("a more focussed project" [than JScience]) some time ago. But there is no full release available yet (version 0.5 was released one year ago).