lib/text-formatters.js
// Convert ISO 4217 code to unicode string.
Convert ISO 4217 code to unicode string.
Convert ISO 4217 code to unicode string .
function currencyFromCode(code) {
  return ({
    CNY: '¥',
    EUR: '€',
    GBP: '₤',
    USD: '$',
  })[code] || code;
}
function currencyFromCode ( code ) { return ( { CNY : '¥', EUR : '€', GBP : '₤', USD : '$' , } ) [ code ] || code ; }
Convert ISO 4217 code to unicode string.
Convert ISO 4217 code to unicode string .