Results 1 to 3 of 3
  1. #1
    RayMilhon is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071

    Query Rounding


    I have a query in MS Access 2010. I have a field where I need to divide 2 Numbers. The result I need is the whole number but I don't want it to round so even if the result is 215.99999 I want the field to display 215. I tried the Fixed format but that rounds it doesn't truncate. Excel has a Truncate Function but as far as I know Access does not. Any ideas?

  2. #2
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Use the INT function, which drops the decimal and just returns the integer portion of a number, i.e.
    Code:
    INT([Number1]/[Number2])

  3. #3
    RayMilhon is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071
    Ok that's what I was doing Wrong I was using CINT not INT. Thanks.

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

Similar Threads

  1. Rounding up a time in a query
    By angie in forum Queries
    Replies: 2
    Last Post: 12-19-2016, 04:34 PM
  2. Query to stop rounding off currency
    By Ruegen in forum Queries
    Replies: 4
    Last Post: 07-24-2013, 09:49 AM
  3. Rounding a number in a query
    By libraccess in forum Queries
    Replies: 3
    Last Post: 08-25-2012, 09:13 AM
  4. percent query rounding less than .5 up
    By jtmo3 in forum Queries
    Replies: 3
    Last Post: 05-04-2012, 02:52 PM
  5. Rounding the Average in a Query
    By jakelufkin in forum Access
    Replies: 3
    Last Post: 06-19-2009, 08:31 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