Hello all.
I notice in ruby there's an easy to way to input "separated" number:

1_000_000
1_000_000.0

But there doesn't seem to be an easy way to "separate" digits when
outputting.  At least I'm not aware of any.
The end goal would be something like

print "human readable with commas: #{1_000_000.0.grouped(',')}"

human readable with commas: 1,000,000.0

Does this already exist and, if not, any feedback (method name,
suitability) for its addition?
Thank you!
-r

-- 
Posted via http://www.ruby-forum.com/.