Hi!
My problem:
I read "quantity" and "price" from MySQL, and next make: quantity*price; "quantity" and "price" are FLOAT, but, for example: 2.34 * 1.00 = 2.00!!! It's NOT correct! What's wrong?
environment:
Linux 2.2.16
Apache 1.3.12
PHP 4.0.1.pl2
MySQL 3.23.10
My problem:
I read "quantity" and "price" from MySQL, and next make: quantity*price; "quantity" and "price" are FLOAT, but, for example: 2.34 * 1.00 = 2.00!!! It's NOT correct! What's wrong?
environment:
Linux 2.2.16
Apache 1.3.12
PHP 4.0.1.pl2
MySQL 3.23.10