Return to Snippet

Revision: 67393
at September 18, 2014 00:41 by Dazecoop


Initial Code
function PMT($i, $n, $p)
{
	return $i * $p * pow((1 + $i), $n) / (1 - pow((1 + $i), $n));
}

Initial URL

                                

Initial Description
Found elsewhere on the Internet after much searching, this one worked perfectly for me.

Initial Title
PHP Excel's PMT() function

Initial Tags
excel

Initial Language
PHP