What is the best data type for int values like 5.2 or 3.5?
Posted: Sun Oct 28, 2007 8:44 am
What is the best data type for stuff like 5.2 or 3.5? I know that INT truncates all decimal values.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
On the contrary, the manual is THE place to get detailed and precise answers to questions like yours. http://dev.mysql.com/doc/refman/4.1/en/ ... rview.html explains the differences quite clearly.Citizen wrote:Well, I looked up them before asking the question to begin with
The kinds of things the manual wont tell me is if there's a performance difference or if one is better than the other for a task that all three can do