From: Ralf Mueller Date: 2009-07-17T14:20:40+09:00 Subject: Re: I have some Ruby math questions that need answering Älphä Blüë wrote: > When handling percentage calculations: > > Simple 99/100.. > > Will I always have to do 99.to_f/100.to_f in order to receive 0.99? Or > is there a simpler way of performing this task in ruby.. > > or you use require 'mathn' and I bet, there is much stuff in the facets-pakage: http://facets.rubyforge.org/