Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    23

    Need to round the decimal portion on a field not the integer


    I need to round the decimal portion on a field. When I use the ROUND instruction for a field, it rounds the integer portion. For example: 2.589 , with the instruction the result is 3, and I need it to be 2.6 Please tell how can I do it.

  2. #2
    Join Date
    Dec 2005
    Location
    Wilmington, DE - USA
    Posts
    275
    admaldo,

    Round has two arguments; the first is the value to rounbd, the second is the precision to round to. You need something like:

    Round([SomeField], 1)

    That will round to one decimal place.

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

Similar Threads

  1. Replies: 1
    Last Post: 10-09-2008, 04:48 AM
  2. Non programer needs help in decimal numbers
    By Peter O in forum Access
    Replies: 1
    Last Post: 10-07-2008, 12:29 PM
  3. Quick way to stuff field names into text field
    By kfinpgh in forum Programming
    Replies: 0
    Last Post: 01-04-2007, 01:13 PM
  4. HELP!!! - Importing table decimal field truncating
    By Valeda in forum Import/Export Data
    Replies: 0
    Last Post: 12-05-2006, 04:06 PM
  5. Get the sum of decimal values - weird results
    By BengtCarlsson in forum Queries
    Replies: 2
    Last Post: 02-10-2006, 04:29 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