Date: 02/14/03
- Next message: Jey: "[PHP-WIN] Error In CGI Application"
- Previous message: Ignatius Reilly: "Re: [PHP-WIN] PHP questionaire"
- Maybe in reply to: paradiddles: "[PHP-WIN] basic variable question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Obviously you are on to *somthing* with your first
comment, because one way to evaluate to 1.1 each
time is if for instance:
$taxrate = 0.10; // local sales tax is %10
$totalamount = $totalamount * (1 + $taxrate);
Is evaluated like:
$totalamount * (1 + $taxrate)
==> 1 * (1 + 0.1)
==> 1 * 1.1 ==> 1.1
> -----Original Message-----
> From: Matt Hillebrand [mailto:matt <email protected>]
> Sent: Thursday, February 13, 2003 8:34 PM
> To: 'paradiddles'; php-windows <email protected>
> Subject: RE: [PHP-WIN] basic variable question
>
>
> Oh wait. Yes you are. Heck if I know. :)
>
> |-----Original Message-----
> |From: paradiddles [mailto:fojomo <email protected>]
> |Sent: Thursday, February 13, 2003 1:00 PM
> |To: php-windows <email protected>
> |Subject: [PHP-WIN] basic variable question
> |
> |
> |
> | Hi everyone. Why does my code work when I enter just 1 for
> |the quantity, but only returns $1.10 when I enter a quantity
> |of 2 or more?
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Jey: "[PHP-WIN] Error In CGI Application"
- Previous message: Ignatius Reilly: "Re: [PHP-WIN] PHP questionaire"
- Maybe in reply to: paradiddles: "[PHP-WIN] basic variable question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

