Re: floats
| From: | balwant singh | Date: | Wed, 20 Jul 2005 05:00:14 +0000 |
| Subject: | Re: floats | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39961@lists.php.net to get a copy of this message | ||
i run this query at my end, its running... pls check whether you gave the field names properly.
With Best Wishes
Balwant Singh
blackwater dev wrote:
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!