From: Max Williams Date: 2009-05-16T20:24:45+09:00 Subject: Re: Rounding any number (int or float) to 3 significant figures A great bunch of solutions, thanks a lot guys. More nice tasks for me trying to reverse engineer them as well (especially Harry's Math solution) :) cheers! max -- Posted via http://www.ruby-forum.com/.