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

Not Inserting into DB
I can't get my Add new Division form to submit to the database. Anyone see my issue?

Code: &a

mysq_num_rows
Hi,

I want to use:

Code: if(mysql_num_rows($ergebnis2)==2)
how can the value 2, be

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

server trace logs
could any one tell me from where do i get error logs in xMII??I want to check the reason for dtabase

EXplanation help
Hey all,

I am still fairly new to PHP programming and I am trying to put together a page wher

is_dir() problem
Hello,

I'm buidling a php scripts that dynamically get's subfolders from a specific folder.

How to submit a form to the same page?
I have a table containing information about books in my library and this table has the following col

need help with mail()
hi i want to send an email with attaching pdf file using php. i have the following script but the pr

for some reason mysql query not working, not inserting, please check it out
This code is not inserting anything into my db, don't know why, the $_SESSION variable does contain

Problem with the Update command used with a sqldataadapter
I'm connected to a database on an SQL Server and I'm using a sqldataadapter, sqlconnection, sqldatas

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