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?? 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. Link to comment https://forums.phpfreaks.com/topic/264874-quick-phpmyadmin-help/#findComment-1357493 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.