amg182 Posted August 8, 2011 Share Posted August 8, 2011 Might seem a bit of a silly question, but how can get numbers in a field(int) to show as one decimal place. I.e 2.1 By defualt the interger is rounding my numbers the nearest whole nuumber 1.2 = 1 Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/244229-changing-int-to-1-decimal-point/ Share on other sites More sharing options...
fenway Posted August 8, 2011 Share Posted August 8, 2011 That's not an INTEGER field -- that's a DECIMAL field. Quote Link to comment https://forums.phpfreaks.com/topic/244229-changing-int-to-1-decimal-point/#findComment-1254415 Share on other sites More sharing options...
amg182 Posted August 8, 2011 Author Share Posted August 8, 2011 Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/244229-changing-int-to-1-decimal-point/#findComment-1254513 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.