Results 1 to 8 of 8
  1. #1
    Dormie is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2014
    Posts
    39

    Table General Number Column - Decimal doesn't work

    Hi,

    I have a couple of tables with general number columns. They don't seem to accept a decimal point for example 100.1, it keeps reverting back to 100. Is there a way around this?

    Thank you!

  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,626
    Change the field data type to Number - Double.
    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
    Dormie is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2014
    Posts
    39
    Great, That was easy. Sorry, I should have found that right in front of me. I have numbers in the thousands and it's created a comma in the column. Can I get rid of the comma?

  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,626
    The comma probably isn't really in the data. I assume it is just a setting of the Format property.
    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.

  5. #5
    Vintner is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2015
    Posts
    1
    I'm having the same issue with a number field rounding up or down to the nearest whole number. (ex. 5.4 rounds to 5.0, 5.6 rounds to 6.0) I'm using Access 2013 and did see in a prior post to set the field to Number - Double. I have the field set to number but cannot figure out how to set to double.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Table in design view, select the field you want to modify, look at the properties below the field list. Change the FieldSize to Double.
    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.

  7. #7
    Dormie is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2014
    Posts
    39
    This did work perfectly for me.

    Once you go into design view (which is right click on the top tab on the table). I have my coloumn set to format: general number, field size: single, decimal places: 1.

    Not exactly what I said I did in the my last post.

    Thank you again for your always quick and accurate responses June7!

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    I always use Double, never Single.
    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: 5
    Last Post: 04-14-2014, 12:37 PM
  2. Converting a Number to Decimal
    By lwilt in forum Access
    Replies: 5
    Last Post: 10-11-2013, 05:02 PM
  3. Replies: 5
    Last Post: 07-18-2013, 01:43 PM
  4. Table Number format and decimal place problem
    By DjMorgan in forum Access
    Replies: 3
    Last Post: 04-29-2013, 01:52 AM
  5. Replies: 0
    Last Post: 10-22-2012, 02:45 PM

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