From: HH Date: 2006-02-09T13:58:42+09:00 Subject: Re: Formatting Numbers Thanks to everyone for all the great suggestions. I really appreciate it. > From: Gene Tani > Organization: http://groups.google.com > Reply-To: > Newsgroups: comp.lang.ruby > Date: Thu, 9 Feb 2006 12:53:22 +0900 > To: ruby-talk ML > Subject: Re: Formatting Numbers > > > HH wrote: >> >> I have a fixnum: >> >> a = 1000 >> >> I would like to output it with a comma, such as "1,000". Is there a >> formatting class or something I can use something along these lines >> (thinking from my Java background): >> > > http://extensions.rubyforge.org/rdoc/classes/Numeric.html#M000011 > >