On Tue, 18 Nov 2003 16:44:42 -0400, Shawn Wilson
<sh***@glassgiant.com> wrote:
Ron wrote:
I searched php.net last night for a payment function with no luck.
Does anyone now if this exists? Want to pass in a loan amount, rate
and term to return payment.
You could write your own very simply by using the equation at the following
address.
http://www.rh.edu/~blought/fall03_ci...assignment.htm
Shawn
All,
I'm writing this as:
echo "Future Value Calcualtion<br>";
//FV = PV(1.0 + R)N
$fv=0.0;
$pv=100000;
$r=7.5;
$n=360;
echo "Future Value:<br>";
$fv=$pv(pow(1+($r/12)),360);
echo "$fv";
echo "end";
After the future value echo I get:
Fatal error: Call to undefined function: 100000() in
c:\phpdev\www\webs\bzzzt\mortgage-calculated.php on line 37
Any ideas?
Thanks,
Ron