473,809 Members | 2,591 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Payment function

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
3 2586
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***@glassgian t.com
http://www.glassgiant.com
Jul 17 '05 #2
Ron
On Tue, 18 Nov 2003 16:44:42 -0400, Shawn Wilson
<sh***@glassgia nt.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
Ron
On Tue, 18 Nov 2003 16:44:42 -0400, Shawn Wilson
<sh***@glassgia nt.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\w ebs\bzzzt\mortg age-calculated.php on line 37
Any ideas?

Thanks,
Ron
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2818
by: Karen | last post by:
I inserted this statement and it worked great for the customers that have no payment history, but for the customers that have a history and an open invoice, it still used today's date in the mix and came back with screwy math. For instance, a customer who actually has an average payment of 20 days and has an open invoice 12 days old was calculated at an average of 102 days.... I'm fuzzy, but not that fuzzy! How do I tell Access to only...
3
6707
by: cameron | last post by:
Hi I am new here in this forum: I am writing a C++ program to calculate a Montly Mortgage Payment where the loan amount is 200,000.00 with a 5.75% interest rate with a term of 30 years. My program compiles fine with no errors but my calculation is not working correctly, any suggestions would be great as this assignment is due on Monday: //******************************************************* //Program: Calculations Payments //Purpose: To...
3
1666
by: davidhumphrey70 | last post by:
Hi, I am in serious need of some help PLEASE? I have a 4 tables (April data, May data, June data and July data) with numerous fields. Each of the tables has its own "Passed for payment to date" field. In a query I am trying to calculate the "Total passed for payment" which will be the sum of the "Passed for payment" fields taken from
3
2175
by: Jano | last post by:
Hi - Happy New Year! I have a web-site which accepted paypal payment for membership. No-one's buying so I want to make it free. The page which inputs the member details into the database needs verification, and I want to bypass the verification, but I can't figure it out. Can anyone help. - I have pasted the script below. Many thanks, Jano <? include("header.php"); ?> <? // read the post from PayPal system and add 'cmd' $req =...
7
1534
by: Kawaka Ku | last post by:
I need help for my payment calculation. When I applied Rate Discount into the worksheet for calculate loan amortize, the looping in interest rate, monthly payment, and remain principal balance are not continue even I setup a loop like this: For loopIndexInteger = 0 To maximumInteger SheetObj.Cells(exRow, 2) = SheetObj.Cells.Item(exRow, 4).value * (prod3disd1 / 100) / 12 SheetObj.Cells(exRow, 3) = MonthlyPmt -...
13
2492
by: Wayne | last post by:
I have just experienced my first late paying client. By "late" I mean that the invoice is now almost 2 months overdue. I don't think that the client is maliciously withholding payment - rather there has been an unfortunate series of events which has delayed the payment. The bottom line for a small time developer is still the same however. I am confident that I will receive payment for the invoice eventually but it is now a case of "once...
1
1626
by: suresh_nsnguys | last post by:
Hi guys, i am having this logic regarding payment after usage functionality for my application in my mind. when user login to my application , The popup windiow will be displayed with paypal button asking user to pay for last month usage with 2 button 'paynow' and 'Remind me' later. when user click 'paynow' button,he will be redirected to paypal for making payment.when user click 'Remind me'.i will remind him when user login next...
1
2705
by: myemail.an | last post by:
Hi all, I am a novice to Access, and was wondering if I could get some help on a problem I can't solve. I have a database with customer payments, structured like this: customer code type of payment date of payment payment amount
0
1835
by: Mrs Scilla Madlin | last post by:
This is to officially inform you that we have verified your contract/inheritance file presently on my desk, and I found out that you have not fulfilling the obligations giving to you in respect to your contract payment. Secondly, you are hereby advised to stop dealing with some non-officials in the bank as this is an illegal act and will have to stop if you so wish to receive your payment immediately. After the Board of director's...
0
9722
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10643
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10121
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7664
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4333
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3862
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.