Results 1 to 4 of 4

Thread: Rounding question in Revit 2013 also in a schedule.

  1. #1
    Member
    Join Date
    2005-02
    Posts
    33

    Default Rounding question in Revit 2013 also in a schedule.

    I am working on getting occupancy loads. I can get the schedule to round to the nearest whole number as long as it follows the rule 1.1 =1 and 1.6 = 2. But the code says anything over 1.00 is to round up to the next higher number so 1.1 = 2 and so on.

    Here is the struggle I have been having. I can get the .3 and .7 to round to 1 but I can get anything like 1.1 to round up to 2 or the 22.23 to round to 23. The formula I have in the calculated value is as follows:

    if(round(Area / Occupancy Load Factor) / 1 ^ 2 < 1, 1, (Area / Occupancy Load Factor) / 1 ^ 2)

    This works great on rounding to 1 and using the 1.1 =1 method.

    What would I need to add to or modify to get the formula above to round the .33 to 1 and the 1.1's and the 22.23 to round up to the next highest number?

    I am very rusty at IF statements and need some guidance.

    Thank you for the help.

  2. #2
    AUGI Addict jsteinhauer's Avatar
    Join Date
    2007-09
    Location
    Madison, WI
    Posts
    1,029

    Default Re: Rounding question in Revit 2013 also in a schedule.

    Could it be as simple as adding .49 to your formula? You might not want to be calculating a number parameter either, try using an integer instead.

    Cheers,
    Jeff S.
    'When I am working on a problem, I never think about beauty but when I have finished, if the solution is not beautiful, I know it is wrong.' - R. Buckminster Fuller

  3. #3
    Member
    Join Date
    2005-02
    Posts
    33

    Default Re: Rounding question in Revit 2013 also in a schedule.

    Jeff,

    Thank you very much. I was so close but yet so far away. That worked great.

    Thanks again.

  4. #4
    100 Club
    Join Date
    2009-12
    Location
    Albuquerque, NM
    Posts
    156

    Default Re: Rounding question in Revit 2013 also in a schedule.

    I currently use the +.49 method, but I did see that as of 2012 you can use a RoundUP formula:
    http://wikihelp.autodesk.com/Revit/e...on_in_Formulas
    http://wikihelp.autodesk.com/Revit/e...Area_parameter

    I will be implementing this change the next time we upgrade our templates, but for now I am leaving it alone so as to not break the existing system.
    -LP

Similar Threads

  1. Schedule Tables (Rounding)
    By Heather_W in forum ACA General
    Replies: 5
    Last Post: 2012-03-07, 12:46 AM
  2. Area Schedule Rounding Issue
    By Rick Houle in forum Revit Architecture - General
    Replies: 8
    Last Post: 2008-10-27, 09:51 PM
  3. Solution for rounding errors (Life Safety schedule)
    By patricks in forum Revit Architecture - General
    Replies: 0
    Last Post: 2008-05-08, 07:44 PM
  4. Rounding off Area in space schedule table
    By bradylady in forum ACA General
    Replies: 2
    Last Post: 2007-11-20, 09:20 PM
  5. Rounding off Area in Schedule
    By dgraue in forum Revit Architecture - General
    Replies: 5
    Last Post: 2007-02-07, 11:19 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
  •