Re: floats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux