Results 1 to 4 of 4
  1. #1
    crowegreg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    398

    Rounding a calcuation


    Within a text box, I'm calcuating an amount. I would like to round that amount up to the closest $5. An example would be if the calculation is $486.50, I'd like it to be rounded to $490.00. Thank you in advance!!

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    This is kind of a bizarre method, but it works:

    Code:
    =int(((your calculation here)/5)+.999)*5

  3. #3
    crowegreg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    398
    I'll give your's a try. I've been working on it, but my code is much longer.

  4. #4
    crowegreg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    398
    That worked perfectly!! Thanks

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

Similar Threads

  1. rounding down
    By markcranmer in forum Queries
    Replies: 1
    Last Post: 10-11-2011, 09:43 AM
  2. Rounding
    By BLD21 in forum Reports
    Replies: 5
    Last Post: 06-20-2011, 01:06 PM
  3. Rounding problem
    By chavez_sea in forum Access
    Replies: 6
    Last Post: 03-09-2011, 09:01 PM
  4. Expression rounding
    By Scorpio11 in forum Queries
    Replies: 2
    Last Post: 03-07-2011, 01:29 PM
  5. Rounding off
    By Alex Motilal in forum Access
    Replies: 4
    Last Post: 12-20-2009, 12:47 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