424,948 Members | 663 Online
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 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
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 On Tue, 18 Nov 2003 16:44:42 -0400, Shawn Wilson 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 followingaddress.http://www.rh.edu/~blought/fall03_ci...assignment.htmShawn 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 On Tue, 18 Nov 2003 16:44:42 -0400, Shawn Wilson 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 followingaddress.http://www.rh.edu/~blought/fall03_ci...assignment.htmShawn All, I'm writing this as: echo "Future Value Calcualtion
"; //FV = PV(1.0 + R)N \$fv=0.0; \$pv=100000; \$r=7.5; \$n=360; echo "Future Value:
"; \$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.