Forum: Ruby on Rails how do you change the currency to pounds or euros

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
1a9ce63090d56c844dd1f4fbb6dd4608?d=identicon&s=25 (Guest)
on 2007-03-02 12:29
(Received via mailing list)
hi guys great forum for ruby on rails
can anyone tell me  how to change the currency to anything other than
C237cf537a06b60921c97804679e3b15?d=identicon&s=25 John Barnette (Guest)
on 2007-03-02 22:19
(Received via mailing list)

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

number_to_currency(42.50, :unit => '!') => !42.50

~ j.
This topic is locked and can not be replied to.