topick
topick copied to clipboard
Currency name
I think it would be good to add a function to get the currency name as well as the symbol.
Maybe add a getNameFromCurrency
function that would return the name based on the currency code, and another one (e.g. getCurrency
) that would get both the symbol and the name (e.g. {symbol: '$', name: 'US Dollar'}
).
I would be willing to create a PR if you like the idea.