> So are you saying that I should never use floats (if so why 
> are the even a data type)? 

No, sometimes they are good enough; if they are good enough for your
purpose, then they will be more efficiently stored than more precise
datatypes such as DECIMAL.

> I've used them in SQL server DBs in the past and never had 
> this problem, is this just down to MySQL?

No, although the default precision may vary between the two database
platforms. And as Nick said, this isn't even a problem just with databases,
but with computers in general.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240854
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to