Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mytrile/b45d4f73f5cf3ee6c7af8c767db6e9c8 to your computer and use it in GitHub Desktop.
Save mytrile/b45d4f73f5cf3ee6c7af8c767db6e9c8 to your computer and use it in GitHub Desktop.
Currency Euro
def currency_euro(item)
number_to_currency(item, :unit => "€", :separator => ",", :delimiter => "", :format => "%n %u")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment