How do I implement / compute this function in objective-c?

CUMIPMT (Rate, NumberOfPayments, PresentValue, StartPeriod, EndPeriod, type).? Plz tell me a step by step guide how this formula works.

-2


a source to share


3 answers


I am assuming that it is calculating the basic compound percentage formula. You can read more about complex interests all over the internet, specifically http://en.wikipedia.org/wiki/Compound_interest#Compound



The formula they give is not the same form as above, but it is the same.

+2


a source


What the MS Excel percentage formula is -

Link here and here A short video on how it is used



As for the actual implementation of it, the wikipedia link is the best guide I've found.

+1


a source


You can watch get_cumipmt(..)

or AnalysisAddIn::getCumipmt(..)

@ koders.com

Note that they are under the LGPL and GPL if you plan on copying it, but they can be helpful when creating your own implementation.

+1


a source







All Articles