Removing rounding from a schedule

Removing rounding from a schedule

loriGZUVH
Enthusiast Enthusiast
2,678 Views
12 Replies
Message 1 of 13

Removing rounding from a schedule

loriGZUVH
Enthusiast
Enthusiast

I am trying to stop a calculated value in a schedule from rounding but I don't see an option under field formatting. Is there another way to do this?

 

Here is the calculated field

loriGZUVH_0-1620333499601.png

 

Here is what the schedule spits out.

loriGZUVH_1-1620333666768.png

 

 

 

I need the highlighted numbers to drop the decimal without rounding up so that it shows that I only need 177 stalls instead of 178.

 

Thanks for your help!

 

0 Likes
2,679 Views
12 Replies
Replies (12)
Message 2 of 13

ToanDN
Consultant
Consultant
Switch to Formatting tab, select the calculated value field and you will
see the units formatting button.
0 Likes
Message 3 of 13

barthbradley
Consultant
Consultant

.

0 Likes
Message 4 of 13

loriGZUVH
Enthusiast
Enthusiast

That sounds like what I am doing. Can you post a screenshot? 

 

It sounds like you are saying to go to Formatting -> Field Format -> Rounding 

 

My issue is that it keeps rounding up and I just want it to drop the decimal so 177.5 shows as 177 not 178.

0 Likes
Message 5 of 13

semhustej
Advocate
Advocate

I think the formula for rounding down might help you. rounddown(x)

 

You can read about it here:

https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2014/EN...

 

Tomas

0 Likes
Message 6 of 13

loriGZUVH
Enthusiast
Enthusiast

That got me closer....Is there a way to only round down the grand total?

0 Likes
Message 7 of 13

loriGZUVH
Enthusiast
Enthusiast

Actually, it may have made new problems....the formula is giving me the wrong numbers???

 

loriGZUVH_0-1620835486140.pngloriGZUVH_1-1620835509899.png

Looking at the first row. It is supposed be 13*1.25=16.25 but it is giving me 14???

0 Likes
Message 8 of 13

RDAOU
Mentor
Mentor

@loriGZUVH 

 

You have an issue in the Total units Column.... 4 x 3 unit Townhouse is 12 units not 13 and 13 x 4 units Townhouse is 52 not 51 

 

The correct figures should result the below when rounding down ..177 

 

 

rd.jpg

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 9 of 13

loriGZUVH
Enthusiast
Enthusiast

I correct the total units but am still having issues with the calculation.....

loriGZUVH_0-1620842410704.png

loriGZUVH_1-1620842426056.png

loriGZUVH_2-1620842482220.png

 

 

0 Likes
Message 10 of 13

loriGZUVH
Enthusiast
Enthusiast

It looks like it is rounding my stalls/unit and then multiplying it by the total units.

0 Likes
Message 11 of 13

RDAOU
Mentor
Mentor

@loriGZUVH 

 

change formatting of Req Stalls to General

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 12 of 13

loriGZUVH
Enthusiast
Enthusiast

that didn't fix it 😞

 

loriGZUVH_0-1620843828148.png

 

0 Likes
Message 13 of 13

RDAOU
Mentor
Mentor

@loriGZUVH 

 

isn't Required Stalls = total Units x Stalls per Unit?   ...what is Units per Building doing in your formula?

Use Integer for the parameters .... Number of Buildings and Total units 

 

otherwise upload it...can't do any more guesses 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes