Results 1 to 5 of 5
  1. #1
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2002
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383

    Round up this calculation

    I need to make this calculation roundup to the nearest whole number. Example;
    =([SumTotal1]-[Text491]) ' this equals $66.71 and it should show $66.72 the format is Currency

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    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
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2002
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    I looked up the links you gave, Thanks. Still unsure if I have correct calculation or not.

    =Int([SumTotal1]-[Text491])+1 ' equals $67.00
    =([SumTotal1]-[Text491]) ' equals $66.7125 ' this shows up in my total as $67.71

    Actual Amount should be $67.72 I think ? Which one is correct? If I use windows calc, $67.72 is correct using standard and basic

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    What do you want? An integer (whole number) or two decimal places?

    Neither of those expressions show using function for two decimal places demonstrated in the first link.

    Probably showing as 67.71 in textbox because of format settings, however, the value is still 66.7125.
    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
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2002
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Thanks, I believe I have it fixed. Bigger fish to fry.Database is wrecked because of me implementing suggestions. Need to find something to drink!

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

Similar Threads

  1. Round up issue?
    By Hammer in forum Access
    Replies: 3
    Last Post: 12-13-2012, 12:46 PM
  2. Round up to nearest nickel
    By Rhubie in forum Access
    Replies: 15
    Last Post: 09-07-2012, 06:50 AM
  3. round up
    By Rhubie in forum Access
    Replies: 1
    Last Post: 08-29-2012, 05:14 PM
  4. Help! - Going round in Circles
    By Sleepymum in forum Database Design
    Replies: 11
    Last Post: 02-01-2011, 09:15 AM
  5. Round Up/Down 4 Decimals to 2
    By newbie in forum Access
    Replies: 6
    Last Post: 10-18-2010, 02:58 PM

Tags for this Thread

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