2009/10/4 MS999 <[email protected]>:
>
> 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 => "&nis;") %>
> <%= 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?

A google search for 'html entity new isreali shekel' rapidly led me to
suggest &#8362;  You could try that.

Colin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to