From: "Bartosz DziewoƄski" Date: 2011-09-12T02:08:28+09:00 Subject: Re: How do I make output generate a float without an excess numbers of decimal places? 2011/9/11 Joe Collins : > I tried n.round(2) and gave an error - didnt want the 2 argument. I am > using an older version of ruby? > In 1.8.x, round() simply rounded to nearest integer. http://www.ruby-doc.org/core-1.8.7/classes/Float.html#M000650 You should update to Ruby 1.9.2. -- Matma Rex