Database Type for Floats
#1

Which database type would it be for floats? I've tried INT(20) but whenever I enter a saving position like 12.1234 it changes itself to "12".
Reply
#2

I believe you mean table field type. There actually is one for float values, search through the list a bit more. Otherwise, you could use varchar with a maximum value of 23.
Reply
#3

In MySQL, the syntax is 'float' (case-insensitive), couldn't you just look through your database editor, or used ******?
Reply
#4

Thanks, I looked twice but didn't clock it, sorry
Reply
#5

http://dev.mysql.com/doc/refman/5.0/...-overview.html
See here for future reference
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)