Currency Curiosities

Formatting currency values can be tricky because to do it correctly requires knowledge of each individual currency and how it should be rendered. Fortunately the java.text package contains some classes which have that local knowledge which means that us developers do not need it, except in really rare circumstances. However, there are some subtleties to…