Is there a way to have rails print out a number with commas in it?
For example, if I have a number 54000000.34, I can run <%= number.function %>, which would prin
Yes, use the NumberHelper. The method you are looking for is number_with_delimiter.
number_with_delimiter(98765432.98, :delimiter => ",", :separator => ".") # => 98,765,432.98