<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rounding, floor, ceiling, etc should adhere to parameter units in Fusion Design, Validate &amp; Document Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/6769905#M276379</link>
    <description>&lt;P&gt;I just encountered this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for posting the work-around. I hope this is addressed in a future release.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would seem logical that the ROUND, FLOOR, CEIL, etc functions should adhere to the unit measure of the parameter and not a unit measure coded internal to Fusion. The other functions will complain if the parameter units are not adhered to so it seems reasonable to expect the same for ROUND, FLOOR, CEIL, etc.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Dec 2016 14:56:40 GMT</pubDate>
    <dc:creator>bradanlane</dc:creator>
    <dc:date>2016-12-26T14:56:40Z</dc:date>
    <item>
      <title>Rounding values</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/5967649#M276374</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New to Fusion 360, trying to translate some old designs to this new environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to use the rounding functions, but without much success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I create a parameter test = floor(311.781), I get an answer 311, as I expect. ceil and round also work as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I create a parameter that is the result of a calculation that returns 311.781 and floor that, I get 310. ceil and round also work to the nearest cm instead of the nearest mm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FrontOfSide =&amp;nbsp;( NominalHeight - ( ( ( NominalDepth / 2 ) - MaterialThickness ) * tan(RoofAngle) ) + 0.5 mm ) = 311.781&lt;/P&gt;&lt;P&gt;NominalHeight = 350mm&lt;/P&gt;&lt;P&gt;NominalDepth = 300mm&lt;/P&gt;&lt;P&gt;MaterialThickness = 5.5mm&lt;/P&gt;&lt;P&gt;RoofAngle = 15deg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;test = ( floor ( 311.781 ) * 1mm ) = 311mm&lt;/P&gt;&lt;P&gt;test2 = floor ( FrontOfSide ) = 310mm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure this is just something silly to do with me being a newbie, but would appreciate some help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 21:14:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/5967649#M276374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-29T21:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding values</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/5967807#M276375</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I change all the quantities to be unitless by dividing the lengths by 1mm and then multiplying the result by 1mm at the end, it gives the right answer. So this must be something to do with the dimensions.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2015 00:50:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/5967807#M276375</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-30T00:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding values</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/5969043#M276376</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_420e797f2c2bd8" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3505168" target="_self"&gt;manolanFHZEC&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us. For value with unit, it seems the floor function is trying to convert other units to cm then rounding. (The underlying length unit in Fusion is cm.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the screenshots below. For expressions with units, such as “5.55mm”, “5.55cm” and “5.55dm”, the rounding is based on its corresponding cm value, i.e. floor (5.55mm) = floor (0.555cm) = 0 cm = 0 mm&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/209086i2E22C9D5C7CE379F/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Parameter.PNG" title="Parameter.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might be confused, but take “test3= floor (5.55 dm)” as an example. What’s the expected result? As test3 has mm as unit, is it “floor (5.55 dm) = 5 dm = 500 mm”, “floor (5.55 dm) = floor (555 mm) = 555 mm”, or “floor (5.55 dm) = floor (55.5 cm) = 55 cm = 550 mm”? Fusion is using the last way. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you found, using unitless would be a good choice I think. You can always control the result as expected, just like the expression of user parameter test4. Does it make sense for you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 02:02:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/5969043#M276376</guid>
      <dc:creator>NicolasXu</dc:creator>
      <dc:date>2015-12-31T02:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding values</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/5969334#M276377</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for confirming that and explaining it so clearly, it makes perfect sense of what I am seeing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I would say it is *not* the correct behaviour. Fusion shouldn't have the concept of an underlying unit of length or, if it must, I should be able to change it. But really it should respect the units of the measurement under calculation. &amp;nbsp;I would go so far as to say this is a bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;M.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 14:27:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/5969334#M276377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-31T14:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding values</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/5971135#M276378</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_3e0742c30fa065" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3505168" target="_self"&gt;manolanFHZEC&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I agree that the behavior is&amp;nbsp;not so good. It would be great if the rounding respects the units of the user parameter. I have reported it to the development team and see how to improve it. (The report id is FUS-21937, for future references)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again for bringing this out.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 03:06:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/5971135#M276378</guid>
      <dc:creator>NicolasXu</dc:creator>
      <dc:date>2016-01-04T03:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding, floor, ceiling, etc should adhere to parameter units</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/6769905#M276379</link>
      <description>&lt;P&gt;I just encountered this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for posting the work-around. I hope this is addressed in a future release.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would seem logical that the ROUND, FLOOR, CEIL, etc functions should adhere to the unit measure of the parameter and not a unit measure coded internal to Fusion. The other functions will complain if the parameter units are not adhered to so it seems reasonable to expect the same for ROUND, FLOOR, CEIL, etc.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2016 14:56:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/6769905#M276379</guid>
      <dc:creator>bradanlane</dc:creator>
      <dc:date>2016-12-26T14:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding values</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/7118446#M276380</link>
      <description>&lt;P&gt;I just ran into this as well... I have to agree with the last post, this is something that should be fixed as this behavior is not expected nor is it intuitive.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 02:09:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/7118446#M276380</guid>
      <dc:creator>dentontxtwu</dc:creator>
      <dc:date>2017-05-31T02:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding values</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/7225633#M276381</link>
      <description>&lt;P&gt;Same issue here - Glad there is a workaround, but it certainly isn't intuitive for those used to using inches instead of millimeters.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:56:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/7225633#M276381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-13T12:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding values</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/7685838#M276382</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so I ran into this problem today myself. It is an annoying behavior and I want to add a little detail to it, as it seems that it changed slightly by now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the number I want to round down:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-01-12 at 15.40.18.png" style="width: 379px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/449007iDAC25B254E89828E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2018-01-12 at 15.40.18.png" alt="Screen Shot 2018-01-12 at 15.40.18.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The number is deducted from another variable, called DrawerHeight. I get 26.667 but want to get 26.&lt;/P&gt;
&lt;P&gt;However, when I add the floor function, I get:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-01-12 at 15.39.46.png" style="width: 371px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/449004iA563F1AAD009FF41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2018-01-12 at 15.39.46.png" alt="Screen Shot 2018-01-12 at 15.39.46.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fusion is obviously not rounding 26.xxx but 2.6xxx. Means, that it is converting the value to cm first, even when everything is in mm.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, using numbers directly does not show the faulty behavior:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-01-12 at 15.40.03.png" style="width: 373px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/449006iF457B87BB2F28B4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2018-01-12 at 15.40.03.png" alt="Screen Shot 2018-01-12 at 15.40.03.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I guess, that you have fixed the issue for literals by now, but not for variables OR the 40 is considered cm, even though Unit is set to mm.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Btw.: When adding pictures inside a post's editor window it is not possible to add new blank lines underneath it. You have to have some spare blank lines left and move the picture to one of the upper lines to be able to write underneath a picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 14:56:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/7685838#M276382</guid>
      <dc:creator>MartinMajewski</dc:creator>
      <dc:date>2018-01-12T14:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding values</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/13768221#M319315</link>
      <description>&lt;P&gt;Wait, so we still can't round values in inches, the manufacturing measurement used in the country Autodesk is based in??&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 21:34:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/rounding-values/m-p/13768221#M319315</guid>
      <dc:creator>cps8EFYH2</dc:creator>
      <dc:date>2025-08-14T21:34:13Z</dc:date>
    </item>
  </channel>
</rss>

