pow(x,y) can be represented as x**y -- Shiv N Gautam
On Fri, Feb 20, 2009 at 1:47 PM, Ankit Parekh < rails-mailing-l...@andreas-s.net> wrote: > > Hi > > I want to calculate compound interest on monthly and daily basis. I am > doing this with the formula. > > Now the question is wats the syntax for ^ in raise to since i want to do > something like A= p(1+R)^N > > Now ^ symbol for raise to is not working. Let me know what should i do > instead of that? > > Thanks > -- > Posted via http://www.ruby-forum.com/. > > > > -- Bill Watterson - "There is not enough time to do all the nothing we want to do." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---