Forum: Ruby on Rails Calculate Compound interest

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ankit P. (Guest)
on 2009-02-20 10:17

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?

Shiv N Gautam (Guest)
on 2009-02-20 10:25
(Received via mailing list)
pow(x,y) can be represented as x**y

Shiv N Gautam

On Fri, Feb 20, 2009 at 1:47 PM, Ankit P. <
removed_email_address@domain.invalid> wrote:

> instead of that?
> Thanks
> --
> Posted via
> >


Bill Watterson  - "There is not enough time to do all the nothing we
want to
This topic is locked and can not be replied to.