Perad Posted March 23, 2009 Share Posted March 23, 2009 Hi, What is a maximum amount a float column can sustain? I set up a float column and gave it the following attribute. '5,2'. I thought this meant 5 integers and 2 decimals. Before I go hacking into the database, I need a field which will allow up to 99999.99. Can float do this? Any help would be much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/150704-float-maximum-99999/ Share on other sites More sharing options...
rhodesa Posted March 23, 2009 Share Posted March 23, 2009 the first is the TOTAL number of integers including decimals...so if you want #####.##, it would be 5+2,2: FLOAT(7,2) Quote Link to comment https://forums.phpfreaks.com/topic/150704-float-maximum-99999/#findComment-791710 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.