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.

Did you know?Explore Trending and Topic pages for more stories like this.
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

Which PHP-Editor do you think is the best?
Hi everyone,
Myself Brian Anderson. For the last 2 years i have been working a

Streaming local file from PHP while it’s been written to by a CURL process
I am creating a simple Proxy server for my website. Why I am not using mod_proxy and mod_cache is a

php/mysql problem
Hey all,

Problem: im trying to setup a shop where people can use a drop-down list to select t

my sql select id and then update problem.
I need to select some auto incremented ids out of a database and then use those id in a where statem

Saas with SAP R/3
hi experts,

Is SaaS offer available in SAP? for SAP R/3? from where i can get the info a

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

How to search for several parameters from objects in a database?
I have a database with lots of information about objects.
Now I would like to search for 4 or 5 p

Help, Base64 encoding url and decoding server side.
Hello everyone, i have a website with videos and games and also provide an embed code which people c

single page with referrer to show correct page
I have a simple website with a couple of different pages. I would like to be able to in a div tag w

php mysql query from input textbox
Hi,

I have a text box, in that i have given the mysql query. I can able to get the query in v

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