From: gaurav bagga Date: 2006-12-27T02:51:24+09:00 Subject: Re: Newby - how to round up floating point number? ------=_Part_6516_16239670.1167155482366 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, if you get such numbers in your calculations then irb(main):012:0> 10.0000000000000001.ceil => 10 irb(main):013:0> 10.0000000000000001 i copied what you supplied anyone experience enough in ruby can you explain how ruby handles floats i bean big floats this thread has raised doubts in my mind i'll appreciate if any one replies to this query of mine regards gaurav ------=_Part_6516_16239670.1167155482366--