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 Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/195019-number-help-quickie/#findComment-1025219 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.