Remember to keep your code DRY (Do not repeat yourself). It looks like the same logic exists in both the currency classes. See if you can extract that logic into a common class