PHP Excel's PMT() function
Found elsewhere on the Internet after much searching, this one worked perfectly for me.
Copy this code and paste it in your HTML
function PMT($i, $n, $p)
{
return $i * $p * pow((1 + $i), $n) / (1 - pow((1 + $i), $n)); }
Report this snippet
Comments
Subscribe to comments