function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
raju.Braju.B 

PMT Formula

I need PMT function in salesforce. please help me Thanks, raju
Jeff Douglas (Personal)Jeff Douglas (Personal)
For future reference, I put together an Apex class (with unit tests) to calculate PV, PMT, FV, IPMT & PPMT Excel functions.

You can find it at: https://github.com/jeffdonthemic/apex-financials

Jeff Douglas
Trailhead
Martina RuescaMartina Ruesca
PMT= ( Net Loan * (Anual Interest Rate /100)/12) / (1 - (1 + (Anual Interest Rate /100)/12) ^ (- Months ))