?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?Re: How to add x percentage to total
Author:??(65.48.205.---)
Date:???10-02-03 09:44

$percentage=7;//where the percentage is 7%

$totalvalue=$value*(1+($percentage/100))

or

$tax=$value*$percentage

$totalvalue=$value+$tax;

then you have both values

?Topics Author? Date
?How to add x percentage to total??new
freee 10-02-03 06:23?
?Re: How to add x percentage to total??new
bastien 10-02-03 09:44?
?Re: How to add x percentage to total??new
freee 10-02-03 20:16?
?Re: How to add x percentage to total??new
freee 10-03-03 00:34?
?Re: How to add x percentage to total??new
bastien 10-03-03 05:50?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
????

Provided By
Phorum