PDA

View Full Version : Column Type question ? 1234.1234


generic1916
04-07-2003, 05:08 PM
I want to get a value from a web form in text format and put it into my mysql database in the following decimal format 1234.1234. What column type should I specify for mysql ? Thanks in advance.

raf
04-07-2003, 08:35 PM
You want to keep it as text?
use DECILMAL

else
FLOAT, DOUBLE

More info
http://www.mysql.com/doc/en/Column_types.html