<?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 How to round a constraint to the nearest whole number using iLogic? in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-round-a-constraint-to-the-nearest-whole-number-using/m-p/7920219#M90089</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today I was trying to use iLogic to make it so that the offset of a mate constraint could only be a whole value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for example, If I manually entered the value 2.8, it would automatically round it up to 3.&lt;/P&gt;&lt;P&gt;What would be the best way to achieve this?&lt;/P&gt;&lt;P&gt;I'm fairly new with iLogic but I thought there would be a rounding rule but haven't been able to figure/find anything out.&lt;/P&gt;&lt;P&gt;Any help would be much appreciated&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alex&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 06:14:15 GMT</pubDate>
    <dc:creator>11133SFW4P</dc:creator>
    <dc:date>2018-04-10T06:14:15Z</dc:date>
    <item>
      <title>How to round a constraint to the nearest whole number using iLogic?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-round-a-constraint-to-the-nearest-whole-number-using/m-p/7920219#M90089</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today I was trying to use iLogic to make it so that the offset of a mate constraint could only be a whole value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for example, If I manually entered the value 2.8, it would automatically round it up to 3.&lt;/P&gt;&lt;P&gt;What would be the best way to achieve this?&lt;/P&gt;&lt;P&gt;I'm fairly new with iLogic but I thought there would be a rounding rule but haven't been able to figure/find anything out.&lt;/P&gt;&lt;P&gt;Any help would be much appreciated&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alex&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 06:14:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-round-a-constraint-to-the-nearest-whole-number-using/m-p/7920219#M90089</guid>
      <dc:creator>11133SFW4P</dc:creator>
      <dc:date>2018-04-10T06:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to round a constraint to the nearest whole number using iLogic?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-round-a-constraint-to-the-nearest-whole-number-using/m-p/7920983#M90090</link>
      <description>&lt;P&gt;The math operators are based on the standard VB math ops.&lt;/P&gt;
&lt;P&gt;Take a look here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/inventor-products/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU/Inventor-Help/files/GUID-E9CF6373-3E22-4E25-9F1D-49B8602A8EC0-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/support/inventor-products/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU/Inventor-Help/files/GUID-E9CF6373-3E22-4E25-9F1D-49B8602A8EC0-htm.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 11:57:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-round-a-constraint-to-the-nearest-whole-number-using/m-p/7920983#M90090</guid>
      <dc:creator>I_Forge_KC</dc:creator>
      <dc:date>2018-04-10T11:57:07Z</dc:date>
    </item>
  </channel>
</rss>

