Number_to_currency - not accepting all currencies?

Hi,
I am trying to use the following code to have the browser display the
New Israel Shekel, but it is not working
<%= number_to_currency(product.price, :unit => “₪”) %>
I also tried
<%= number_to_currency(product.price, :unit => “⋼”) %>
<%= number_to_currency(product.price, :unit => “&shekel;”) %>

Does anyone know how I can display the new Israel shekel? It shouls
look like this: ₪

Also, does anyone know of a list of codes you can use to display
different country currency symbols?

Thank you

2009/10/4 MS999 [email protected]:

look like this: ₪

Also, does anyone know of a list of codes you can use to display
different country currency symbols?

A google search for ‘html entity new isreali shekel’ rapidly led me to
suggest ₪ You could try that.

Colin

That worked, thanks for the help with this

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs