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-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---