Jump to content

...WHERE x = 5.19? why doesn't this work?


turst

Recommended Posts

Is it not possible to have a WHERE clause check if something is equal to a float?  I've tried it with both x = 5 and x = 6 and both work, so my query is fine other than this last part.  When i use any number with a decimal, I get no results.  5.19 is a valid piece of data so it should be able to find it.  Is there a way around this?

Thanks!
Link to comment
https://forums.phpfreaks.com/topic/29874-where-x-519-why-doesnt-this-work/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.