From: John Butler Date: 2007-03-30T05:43:38+09:00 Subject: Ruby math.pow equivalent 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 -- Posted via http://www.ruby-forum.com/.