Skip to content

Instantly share code, notes, and snippets.

@neilmiddleton
Created February 15, 2013 10:55
Show Gist options
  • Save neilmiddleton/4959689 to your computer and use it in GitHub Desktop.
Save neilmiddleton/4959689 to your computer and use it in GitHub Desktop.
pricing formatting
def locale_from_currency(currency)
case currency
when :GBP
:en
when :USD
:en
when :EUR
:de
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment