Multiplication of double
| From: | Cesar Aracena | Date: | Sun, 19 Jan 2003 18:51:29 +0000 |
| Subject: | Multiplication of double | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-132187@lists.php.net to get a copy of this message | ||
Hi all,
I guess this problem might sound childish for most of you, but I'm
having it right now. I get two numbers from a FORM, one price and one
quantity and I need to make a multiplication with them in order to store
the total amount also as a double expression... I'm trying with:
$totalprice = $price * $qty;
but when I echo the, it gives me just plain old 0 (zero). Any
suggestions?
Thanks in advance,
Cesar L. Aracena
icaam@icaam.com.ar
caracena@infovia.com.ar
(0299) 156-356688
Neuquén (8300) Capital
Argentina