You need to sign in to do that
Don't have an account?
bhorakiforce
Convert PMT formula from Javascript to Salesforce formula notation
Formula in Java Script ---------------------- pmt = ( ((ir/100)/12)* ( pv * Math.pow ( (((ir/100)/12)+1), (np*12)) + fv ) ) / ( ( ((ir/100)/12)+ 1 ) * ( Math.pow ( (((ir/100)/12)+1), (np*12)) -1 ) );
Hi,
Try the below formula as reference:
( ((ir__c/100)/12)* ( pv__c * ( (((ir__c/100)/12)+1)^(np__c*12)) + fv__c ) ) /
( ( ((ir__c/100)/12)+ 1 ) * (( (((ir__c/100)/12)+1)^(np__c*12)) -1 ) )
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
It is closest formula found.
This one is exact.