J
John Butler
Hi,
I am trying to calculate a monthly payment for a loan in Ruby. Does
anyone know what the equivalent for math.pow in Java is for Ruby?
@monthlypayment = @principal*@rate/(1-Math.pow(1/(1+@rate),@payments))
Ive searched everywhere and cant seem to find anything.
thanks
Johnny B
I am trying to calculate a monthly payment for a loan in Ruby. Does
anyone know what the equivalent for math.pow in Java is for Ruby?
@monthlypayment = @principal*@rate/(1-Math.pow(1/(1+@rate),@payments))
Ive searched everywhere and cant seem to find anything.
thanks
Johnny B