When dealing with currencies in code you don't need to roll up your own interpretation of a currency. Now you can just use the ISO 4217 gem to work with them.
Enrique Comba Riepenhausen
gem "ecriso4217", "~> 0.4.1"