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/.