I have just started with Ruby and Rails and am still greatly confuse,
finding the usual tutorials not much help.
What I want to do is take two numbers from my database, multiply them
together and display them in a list with a comma for the thousands
separator. This would be very easy to do in a spreadsheet, so I assumed
it would be easy to do in Ruby on Rails but I can’t work out how.
I have a list.rhtml with a code snipet like
which does the multiply, but how do I do the formating?
I found this link to some Ruby code that might do this, but where would
I put it and how would I use it?