ninedoors Posted October 10, 2007 Share Posted October 10, 2007 I have a field in my database that is a winning percentage for each team in my league. This field is a float and I want the winning percentage to produce 3 decimal places. The problem I am having is that when I enter the value in the DB if the value is say, .650, itr only enters .65. I want it is this way for consistentcy when I print the data on my stats page. Is there any way to combat this? Nick Quote Link to comment Share on other sites More sharing options...
ninedoors Posted October 10, 2007 Author Share Posted October 10, 2007 Oh ya, in my script I am using number_format to get the right amount on decimals. Quote Link to comment 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.