From: Jose francisco Gonzalez carmona Date: 2007-11-29T03:25:20+09:00 Subject: Re: Round Bober wrote: > Hello, > In my application form db I become double, > for example 10 => 10.00 or 10.2 => 10.20 > > id it possible? > Is there any function in Rails to it? Pure ruby: puts "%02.02f" % 10 puts "%02.02f" % 10.2 -- Posted via http://www.ruby-forum.com/.