function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
double principle = 10000;
double rate = 5;
double times = 2;
double A = principle * (Math.pow((1 + rate / 100), times));
double CI = A - principle;
system.debug(CI);
I hope you find the above solution helpful. If it does, please mark it as the Best Answer to help others too.
Thanks and Regards,
Suraj Tripathi
i believe the correct formula is
( Principal__c* ( 1 + Rate__C / M ) ^ ( T * M) )