suttercain Posted November 7, 2007 Share Posted November 7, 2007 Hi guys, I have a column that contains floats (exp 2.2, 3.4 etc.) What type of column should it be? varchar will not order them properly and integer converts them to round numbers. Thanks. SC Link to comment https://forums.phpfreaks.com/topic/76431-numbers-being-stored-in-mysql-float-if-you-will/ Share on other sites More sharing options...
revraz Posted November 7, 2007 Share Posted November 7, 2007 Float or Double should be a valid choice. Link to comment https://forums.phpfreaks.com/topic/76431-numbers-being-stored-in-mysql-float-if-you-will/#findComment-387061 Share on other sites More sharing options...
suttercain Posted November 7, 2007 Author Share Posted November 7, 2007 That's what I thought, but it's not taking the decimal... Let me try some other things. Link to comment https://forums.phpfreaks.com/topic/76431-numbers-being-stored-in-mysql-float-if-you-will/#findComment-387064 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.