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
Another solution that does not use Helpers: format with 2 decimal places, and then replace . by ,
puts(("%.2f" % 2.5666).gsub('.',',')) >> 2,57