I’m would like to create a formula I have, into Objective C code.
float loanP = ((interestRate/100/12) *loanAmount) /(1-(1+(interestRate/100/12))^- loanTens)
Is there some notation I should be using for the
^-loanTens
part?
Many Thanks,
-Code
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
objective C has all the libraries and classes which were in C/C++.
We have some math classes to perform math functions.
import math.h file
which has math functions useful to you.
here you need power operation i think so.
this will be something like this
have a look at the available functions in the math.h and make use of it.