adding up might be solved tell us cheers.


Posted on 16th Feb 2014 07:03 pm by admin

i think i finally solved this anybody.

last time i was getting the wrong results.

Code: <?php

// price of item.
$price="100.00";

//quenity of items.
$quenity="7";

// tax rate.
$tax="17.50";

//discount rate.
$discount="25%";

// monthly payments.
$payments="12";

//total price x queniety.
$total=$price*$quenity;

// add pretax up, divide tax via 100.
$pretax=$tax/100;

//add a 1 to pretax to get the decimal point.
$total_tax=$pretax+1;

//total with out tax.
$total_with_out_tax=$total;

//total with tax.
$total_with_tax=$total*$total_tax;

//total with discount.
$total_with_discount=$total_with_tax-$discount;

//monthly payments.
$monthly_payments=$total_with_tax/$payments;


echo "&pound".number_format($total_with_discount,2)."";

?>



yeee haaaa, sorry was solved my fault.

Posted on 03rd Jul, 2019
rmeisermitch
high quality replica watches for men
watches
swiss Mechanical movement replica watches

high quality replica watches for men
watches
swiss Mechanical movement replica watches

swiss replica watches aaa+
swiss replica watches
Posted on 03rd Jul, 2019
rmeisermitch
high quality replica watches for men
watches
swiss Mechanical movement replica watches

high quality replica watches for men
watches
swiss Mechanical movement replica watches

swiss replica watches aaa+
swiss replica watches
Posted on 17th Jul, 2019
rmeisermitch
beste Replik Omega Uhren
Uhren
beobachten


Connection Problem























Sorry!There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.


To verify the site status ... Click here


Omega- Uhren im Angebot
Omega Uhren Replik

Your Answer:

Login to answer
342 Like 5 Dislike
Previous forums Next forums
Other forums

Sending UDP Raw socket
I truly need help on this. I am trying to write a test program that simulate a network environment

Help with search.php
Hello All

I need the search engine on a site I am building at the moment to display the searc

extract content from a website
i have written a code that will grab the content from the index page..
i would like to know how c

Mail from PHP form not always ending up in my inbox?
Hi guys,

I'm a real newbie to PHP and have managed to put together a simple mail form that se

Doubles are giving me problems
Ok so, first of all i made a double = 0.05, but when running the debugger it shows up as 0.04999. I

Question about the upload of large files
Hi there,

I have a question about the upload of large files, like videos (files generally abo

PHP Surveys
I really would like some advice.

If you have a client come to you asking for a survey to be d

Handling text changed in text box control using Ajax
I need to create a web form with a text box control. When someone types text into the textbox I nee

how to timeout $doc = new DOMDocument()->load($url)
I am currently using this $doc->load($url) to fetch an rss feed.
If a feed takes long than

Breaking results into week blocks
I have a set of dates (and times), which are returned from a mySQL query.

These usually span

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash