By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 663 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

Payment function

P: n/a
Ron
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.

Appreciate any leads.

Thanks,
Ron
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
--
Shawn Wilson
sh***@glassgiant.com
http://www.glassgiant.com
Jul 17 '05 #2

P: n/a
Ron
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

Shawn,

Thanks for the reply. I'll code it and see if it works. Will post the
results

Ron
Jul 17 '05 #3

P: n/a
Ron
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
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.