Google Analytics (Hidden)

Wednesday, March 23, 2011

Revit 2012 - Round Function In Formulas

There has been lots of blogging about the new features in Revit 2012 over the last couple of days, but to my surprise I´ve not seen the the new rounding functions mentioned yet.
OK, it may be a minor feature to most, but I use formulas a LOT, and find these new functions pretty sweet.

I also posted this, and lots of other formulas to use in Revit, in this thread at the Revit Forum.

Values in formulas can be now rounded up or down. For example, when riser height is calculated, one needs the function “round” to find the appropriate value.
The round function returns a number rounded nearest to a whole number. It doesn’t take into consideration rounding direction (round up or down). If the number is (for example) from 24.5 to 24.9, the function rounds it to 25. If it is from 23.1 to 23.4, the function rounds it to 23.
round ( 23.4) = 23
Round ( 23.5) = 24
Round ( 23.6) = 24
Round (-23.4) = -23
Round (-23.5) = -23
Round (-23.6) = -24
The syntax for the round function is: round( number)
number is the number to round.
“x” is a unitless value that should return the largest integral value less than or equal to x.
For example:
roundup ( 23.0) = 23
roundup ( 23.5) = 23
roundup ( 23.9) = 23
roundup (-23.0) = -23
roundup (-23.5) = -24
roundup (-23.9) = -24
The syntax for the roundup function is: roundup (number)
number is the number to round up.
“x” is a unitless value that should return the smallest integral value greater than or equal to x.
For example:
rounddown ( 23.0) = 23
rounddown ( 23.5) = 24
rounddown ( 23.9) = 24
rounddown (-23.0) = -23
rounddown (-23.5) = -23
rounddown (-23.9) = -23
The syntax for the rounddown function is: rounddown (number)
number is the number to round down.
Note that when numbers such as 23.5 are rounded, they can result in either 23 or 24. To produce a stable result, for all the .5 cases, we round to the larger integer. That means that 23.5 is rounded to 24, while -23.5 to -23


  1. Nice post I have been looking for AutoCAD training and all to be fine there are some autodesk authorised training center that may help in find the best training center.

  2. My Arcus offer java training with 100% placement. Our java training course that includes fundamentals and advance java training program with high priority jobs. java j2ee training with placement having more exposure in most of the industry nowadays in depth manner of java

    java training in chennai

  3. I am so happy to read this. This is the kind of manual that needs to be given and not the random misinformation that's at the other blogs.
    eCommerce Support Services In India

  4. House cleaning company Khobar
    شركة تنظيف منازل بالدمام is the largest cleaning company in the Kingdom of Saudi Arabia, which provides a lot of services for cleaning apartments, villas and pest control services and many of the services needed by any houseشركة مكافحة حشرات بالدمام and the services of Anoud many of the advantages that will be enjoyed when you get the various cleaning services provided above

    شركة رش مبيدات بالدمام
    Level of quality and efficiency, and the company tops excellence is a شركة تنظيف موكيت بالدمام villas Khobar is specialized in all the work of cleaning houses, villas, buildings and apartments.
    شركة تنظيف كنب بالدمام
    If you have a suitable or come to you a guest soon, we are ready to fully equip and clean your home and make it as new and maintain it completely and clean it of dust and dirt attached and remove all things that are difficult to remove with materials removed without prejudice to any piece of furniture or damage it

  5. شركة تركيب اثاث ايكيا بالرياض
    اسعار شركة تركيب اثاث ايكيا بالرياض
    شركة تركيب ستائر بالرياض
    محلات تركيب ستائر بالرياض
    فني تركيب باركية بالرياض
    شركة تركيب باركية بالرياض
    فني تركيب غرف نوم بالرياض
    شركة تركيب غرف نوم بالرياض
    شركة تركيب عفش بالرياض
    شركة تركيب اثاث بالرياض
    يحتاج تركيب الأثاث إلي شركات ذات خبرة كبيرة في ذلك المجال وكذلك إلي مجموعة من العمال القادرين علي التعامل مع كافة أنواع الأثاث والغرف، لذا توفر الشركة أفضل عامل تركيب أثاث بالرياض المدربين المحترفين والقادرين علي التعامل باحتراف شديد مع كافة أنواع الأثاث كما أن كافة عامل تركيب أثاث بالرياض مدربين على تركيب كافة أنواع الأثاث المنزلي دون التسبب في فساد أي جزء من تلك القطع المختلفة
    كما توفر شركة عامل تركيب أثاث بالرياض مجموعة كبيرة من السيارات الخاصة بنقل الأثاث وتتميز السيارة بأنها واسعة ونظيفة وكذلك عنصر الأمان فهي آمنة تماما علي الأثاث

  6. I love this post.

    โปรโมชั่นGclub ของทางทีมงานตอนนี้แจกฟรีโบนัส 50%
    เพียงแค่คุณสมัคร Gclub กับทางทีมงานของเราเพียงเท่านั้น
    สมัครสล็อตออนไลน์ >>> goldenslot
    สนใจร่วมลงทุนกับเรา สมัครเอเย่น Gclub คลิ๊กได้เลย

  7. Very cool!

    เว็บไซต์คาสิโนออนไลน์ที่ได้คุณภาพอับดับ 1 ของประเทศ
    เป็นเว็บไซต์การพนันออนไลน์ที่มีคนมา สมัคร Gclub Royal1688
    และยังมีหวยให้คุณได้เล่น สมัครหวยออนไลน์ ได้เลย
    สมัครสมาชิกที่นี่ >>> Gclub Royal1688

  8. Great Article! Outsourcing data entry is an excellent plan unless you find out the best in that business and delegate the tasks which can be quite feasible to undertake with due respect to the time frame.
    outsource data entry services

  9. Geek Squad became extremely successful with this approach, and in 2002, the company became part of Best Buy. In 2004, Geek Squad was rolled out throughout the U.S. and Canada, eventually expanding beyond its computer tech origins to help out with everything from appliance repairs to car, home theater and smart home installations.

    For more information visit site :- Geek Squad tech support

    Geek Squad appointment