From: gga Date: 2005-09-27T04:11:42+09:00 Subject: Re: Truncating Floats Probably cause you can do it in one line: ('%.2f' % 0.255).to_f