Results 1 to 6 of 6
  1. #1
    DrSeuss is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    2

    Decimal places. I need access to not ingore the zero!

    Ok this is driving me nuts, I really hope someone can help. I have edited cell properties to number and double decimal places. However, if my number is 7.10 for instance I need it to stay as 7.10 and not be changed to 7.1

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    You should tell Access you want Number, single, 2 decimal places.

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    there are several things you can do, if this is a currency field you can set the format either on the table or in a query to 'currency', decimal places are automatically considered to be 2

    Otherwise on the table you can set the data type to DOUBLE and set the format to FIXED and the decimal places to 2
    or in a query you can set a manual format like

    format([NumberField], "#0.00")

    but beware of doing this because the format function has an annoying habit of treating number fields like text fields.

  4. #4
    DrSeuss is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    2
    Single with 2 places doesn't work. I can't see where in data type I can select DOUBLE

  5. #5
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    table design, if it's a calculated field and not a field from your table you can also set the properties in the query design window by right clicking on the column and selecting from the PROPERTIES option and set the format to fixed/2 decimals.

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 02-26-2015, 11:22 AM
  2. Formatting for 3 decimal places
    By Triland in forum Forms
    Replies: 12
    Last Post: 01-24-2013, 10:49 AM
  3. Decimal Places
    By momodoujimnjie in forum Access
    Replies: 1
    Last Post: 01-09-2013, 04:49 AM
  4. Limiting decimal places
    By Cran29 in forum Access
    Replies: 13
    Last Post: 01-08-2011, 08:01 AM
  5. Changing decimal places
    By stupesek in forum Reports
    Replies: 12
    Last Post: 09-01-2010, 11:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums