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 <msefaradi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > 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?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 On Oct 4, 10:50 pm, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> 2009/10/4 MS999 <msefar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > > 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? > > A google search for ''html entity new isreali shekel'' rapidly led me to > suggest ₪ You could try that. > > Colin