How To Add Comma's To Numbers In Ruby

Posted by Weston Ganger

If you have some large numbers, displaying them without commas can be hard to read.

Here a simple method in Rails through ActiveSupport

# in controller or view
# => 123,456,789

#in console

Related External Links:

Article Topic:Software Development - Rails

Date:February 05, 2016

Recommended Posts



Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected