cant display .001 value in Access table

mattm1958

Board Regular
Joined
Dec 4, 2009
Messages
50
Access Newbie here - I have fields formatted as general numeric, and they show 0.000, but when I put in a value like .005 the field simply shows .000. And when I put in 20.005 it shows 20.000.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Access might use a different rule for rounding (aka Bankers rounding). You should try 21.005 please ... what happens?
 
Upvote 0
What is the underlying data type ("Field Size" property) of the Table Field?
Note that if it is something like Integer or Long (Integer), it cannot hold any decimals, so will always show 0s for the decimals, no matter how many places you elect to show.
You need to choose an option that allows decimals, like Single or Double.
 
Upvote 0
^ Yes Joe's seems more likely actually if you're values always display as X.000 - you could be just applying a decimal format to an integer (or long integer) data type...
 
Upvote 0
All you fellows were onto it immediately! I'm just getting back into this 'improvement' project now ( the urgent projects always win out, don't they?). And while it was difficult to find where to change the property (pull up the table, in the far upper left change view to Design, from the list that appears, click on field in question, a box appears below, then in the lower box, change the field property titled "field size" at the bottom, to double.

THANKS. I would never have known, or found it, otherwise.
 
Upvote 0
You are welcome.

Glad we were able to help.
 
Upvote 0

Forum statistics

Threads
1,225,337
Messages
6,184,351
Members
453,227
Latest member
Slainte

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top