herghost Posted March 12, 2010 Share Posted March 12, 2010 Hi All, How do I store a number like 69.99? If I use int it comes out a 69 and decimal rounds upto 70?! Thanks Link to comment https://forums.phpfreaks.com/topic/195019-number-help-quickie/ Share on other sites More sharing options...
PFMaBiSmAd Posted March 12, 2010 Share Posted March 12, 2010 decimal rounds upto 70? Not if your column is defined correctly. Link to comment https://forums.phpfreaks.com/topic/195019-number-help-quickie/#findComment-1025219 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.