floats
| From: | blackwater dev | Date: | Tue, 19 Jul 2005 19:16:47 +0000 |
| Subject: | floats | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-39957@lists.php.net to get a copy of this message | ||
I am running a query on MySQL:
select * from cars where id =52
It returns the row and I can see that gas mileage is saved as a float
with a value of 23.45. So I then do a query, select * from cars where
id=52 and gas_mil=23.45 and the query doesn't retun anything. Why?
Do I have to cast this as a float?
Thanks!