From: Michael Moulsdale Date: 2009-03-16T17:54:55+09:00 Subject: Format number as currency in controller I am trying to prepare a string in a controller and that to format a number as a currency in that string. I can't use number_to_currency as that only works in the view (as far as I can see) The kind of thing I want to do is: [code] mystring = "Your budget is " + number_to_currency(budget.value) [/code] any pointers to the right direction would be most welcome Michael -- Posted via http://www.ruby-forum.com/.