Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2015
    Posts
    12

    Calculation - formation of digits

    Hi Everyone,



    hoping someone can help me out with this formatting issue. Is there a way that I can maintain ALL the decimal digits while just displaying only 2 decimal points? I have an excel spreadsheet and it's easy to do that and the numbers that I have compared to Access is always a couple of cents off do to Access rounding the decimal points.

    thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Access can retain 13 decimal digits.

    In Excel I can set formatting for 30 digits but it shows what I entered only for 14. All the digits after 14th show 0 no matter what I enter.

    I find it odd that rounding to 2 decimals shows any difference. Exactly where and how are you doing the formatting?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    that depends on where you are trying to do it and then display. if you are doing your calculations in a query, easy. click on the field with the expression and bring up properties, then use the format, select standard. it will display only two but keep all your decimals for other expressions. if in a form, will have to use the format function.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Well... textbox on form has Format property. All the digits are there but only 2 display - until you click into the box then they all show so can be edited.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 7
    Last Post: 12-23-2015, 01:02 PM
  2. Too many digits!
    By Degs29 in forum Access
    Replies: 1
    Last Post: 05-30-2013, 12:53 PM
  3. checkers digits
    By fabiobarreto10 in forum Programming
    Replies: 2
    Last Post: 11-13-2012, 03:15 PM
  4. Allow only 4 digits in field
    By funkygoorilla in forum Forms
    Replies: 2
    Last Post: 12-01-2011, 09:21 AM
  5. rounding digits
    By giladweil in forum Access
    Replies: 1
    Last Post: 09-01-2010, 03:11 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