# Number\_to\_currency - not accepting all currencies?

**URL:** <https://www.ruby-forum.com/t/number-to-currency-not-accepting-all-currencies/176679>\
**Category:** Rails\
**Created:** [October 4, 2009, 9:34pm UTC](https://www.ruby-forum.com/t/number-to-currency-not-accepting-all-currencies/176679 "2009-10-04T21:34:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MS999](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@MS999](https://www.ruby-forum.com/u/MS999)\
**Post date:** [October 4, 2009, 9:34pm UTC](https://www.ruby-forum.com/t/number-to-currency-not-accepting-all-currencies/176679/1 "2009-10-04T21:34:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![MS999](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@MS999](https://www.ruby-forum.com/u/MS999)\
**Post date:** [October 4, 2009, 10:52pm UTC](https://www.ruby-forum.com/t/number-to-currency-not-accepting-all-currencies/176679/2 "2009-10-04T22:52:11Z")

</div>

2009/10/4 MS999 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> 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

---

<div class="post-metadata">

**Author:** ![MS999](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@MS999](https://www.ruby-forum.com/u/MS999)\
**Post date:** [October 4, 2009, 11:31pm UTC](https://www.ruby-forum.com/t/number-to-currency-not-accepting-all-currencies/176679/3 "2009-10-04T23:31:59Z")

</div>

That worked, thanks for the help with this
