From: ThoML Date: 2008-06-21T03:38:40+09:00 Subject: Re: how to force a decimal > say i wanted to do  3.5.to_s > but i need that to be 3.50 as the string, Use String#% and friends: "%.2f" % 3.5