computermax2328 Posted June 27, 2012 Share Posted June 27, 2012 Hello, In phpmyadmin I need the database to store a number like this .345 Right now I am getting 0.345. Any tips on how to change this?? Quote Link to comment https://forums.phpfreaks.com/topic/264874-quick-phpmyadmin-help/ Share on other sites More sharing options...
scootstah Posted June 27, 2012 Share Posted June 27, 2012 The only way you could do that is by storing it as something like varchar, which is just not a good idea. Instead, simply remove the 0 when you need to display it. Quote Link to comment https://forums.phpfreaks.com/topic/264874-quick-phpmyadmin-help/#findComment-1357493 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.