# How do you change the currency to pounds or euros

**URL:** <https://www.ruby-forum.com/t/how-do-you-change-the-currency-to-pounds-or-euros/87415>\
**Category:** Rails\
**Created:** [March 2, 2007, 12:29pm UTC](https://www.ruby-forum.com/t/how-do-you-change-the-currency-to-pounds-or-euros/87415 "2007-03-02T12:29:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 2, 2007, 12:29pm UTC](https://www.ruby-forum.com/t/how-do-you-change-the-currency-to-pounds-or-euros/87415/1 "2007-03-02T12:29:12Z")

</div>

hi guys great forum for ruby on rails  
can anyone tell me how to change the currency to anything other than  
$?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 2, 2007, 10:19pm UTC](https://www.ruby-forum.com/t/how-do-you-change-the-currency-to-pounds-or-euros/87415/2 "2007-03-02T22:19:36Z")

</div>

> **[ActionView::Helpers::NumberHelper](https://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html#M000520)**
>
> Provides methods for converting numbers into formatted strings. Methods are provided for phone numbers, currency, percentage, precision, positional notation, file size, and pretty printing.

Note the :unit key in the options hash. So:

number\_to\_currency(42.50, :unit =\> ‘!’) =\> !42.50

~ j.
