From: Kane Williams Date: 2011-09-04T17:10:28+09:00 Subject: Re: Beginner needing help - Writing right-angle triangle program Thanks guys! You've both been helpful! Now how would I make it so that it would return a float? Perhaps up to two decimal places? Here's my code so far : http://pastie.org/2479748 I tried making the range into a float, but then I'm not sure how that would work, at what decimal point range it would end up at, it gave me an error anyways. -- Posted via http://www.ruby-forum.com/.