From: Luc Heinrich Date: 2010-07-20T21:48:17+09:00 Subject: Re: How do I format return this value? On 20 juil. 2010, at 14:13, Chad Weier wrote: > valuea - 100.00 valueb - 555,555.56 "valuea - %.2f valueb - %.2f" % [valuea, valueb] This returns "valuea - 100.00 valueb - 555555.56" Extra steps need to be taken for the thousands separator, I don't think Ruby has anything built-in for that. -- Luc Heinrich - luc@honk-honk.com