From: Harry Date: 2007-03-30T06:06:01+09:00 Subject: Re: Ruby math.pow equivalent On 3/30/07, John Butler wrote: > Does > anyone know what the equivalent for math.pow in Java is for Ruby? > > @monthlypayment = @principal*@rate/(1-Math.pow(1/(1+@rate),@payments)) > > Is this what you are looking for? p 4 ** 3 Harry -- http://www.kakueki.com/ruby/list.html Japanese Ruby List Subjects in English