Results 1 to 5 of 5
  1. #1
    angie is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Dec 2013
    Posts
    232

    Rounding off a number in a text box

    I have the following that I would like to round off the number
    =([PRICE]+([PRICE]*0.075+840))/0.47/0.88+750

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,535
    Perhaps: Round(([PRICE]+([PRICE]*0.075+840))/0.47/0.88+750,0)
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,898
    Be aware Round() uses banker's rule.

    Round(5.45,1) = 5.4

    Round(5.35,1) = 5.4

    Round(5.46,1) = 5.5
    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.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    Round off the number?
    To x digits/decimal places? To nearest integer?

    An example might be helpful.

    I substituted 100 for Price

    ?(100+(100 * 0.075 + 840))/0.47/0.88 + 750
    3040.86073500967


    What result would you like?

    ?fix((100+(100 * 0.075 + 840))/0.47/0.88 + 750 )
    3040

  5. #5
    angie is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Dec 2013
    Posts
    232
    Thank you very much I used the first reply it works great for what I need,

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

Similar Threads

  1. convert number to text number like in cheque
    By ravideep in forum Reports
    Replies: 1
    Last Post: 03-12-2013, 05:55 AM
  2. Replies: 12
    Last Post: 10-22-2012, 06:11 AM
  3. Rounding a number in a query
    By libraccess in forum Queries
    Replies: 3
    Last Post: 08-25-2012, 09:13 AM
  4. Rounding number up to half hour
    By crxftw in forum Forms
    Replies: 2
    Last Post: 08-23-2011, 07:29 AM
  5. Stop text box from rounding decimals
    By Deutz in forum Access
    Replies: 1
    Last Post: 02-17-2011, 07:32 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