All the worlds currencies as records and customs types, with helper functions too, in the Elm programming language. this package doesnt do all the work of formatting currency UI, but it does a lot of it.
Its very common in practice that money be stored with two pieces of data
USD in the case of US Dollars).This common approach is good for two reasons:
For the front end, that usually means you are getting information from the backend like the money is a "EUR" currency and its value is 400. You need to take the currency, and the value, and figure out how this money value is meant to be presented. With this package you can, for example, figure out that "EUR" is has two decimals, and its symbol is "€"; which is a big step of the way to representing money.
PRs and issues are welcome.