<?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 a Field number to the nearest .5' that is pulling off of diameter in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/rounding-a-field-number-to-the-nearest-5-that-is-pulling-off-of/m-p/13088966#M8957</link>
    <description>&lt;P&gt;To do this you'll have to enter the &lt;STRONG&gt;FIELD&lt;/STRONG&gt; command&lt;/P&gt;&lt;P&gt;Field category: select &lt;STRONG&gt;Objects&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Field names: select &lt;STRONG&gt;Formula&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Leave the Format as &lt;STRONG&gt;Decimal&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Precision: select&amp;nbsp;&lt;STRONG&gt;0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In the formula window enter:&lt;/P&gt;&lt;P&gt;0.5*ROUND(1*12/0.5)&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;1&lt;/STRONG&gt; in this case is a place holder.&lt;/P&gt;&lt;P&gt;Then select &lt;STRONG&gt;1&lt;/STRONG&gt; and right mouse click&lt;/P&gt;&lt;P&gt;on the cursor menu select &lt;STRONG&gt;Insert Field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1729100791168.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422374i915CDB47614F350E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_0-1729100791168.png" alt="paullimapa_0-1729100791168.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now on the 2nd &lt;STRONG&gt;FIELD&lt;/STRONG&gt;&amp;nbsp;window:&lt;/P&gt;&lt;P&gt;Field category: select &lt;STRONG&gt;Objects&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Field names: select &lt;STRONG&gt;Object&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Pick your &lt;STRONG&gt;Circle&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Under Property select &lt;STRONG&gt;Diameter&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Leave the Format as &lt;STRONG&gt;Decimal&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Precision: select&amp;nbsp;&lt;STRONG&gt;0.00&lt;/STRONG&gt; &amp;lt;increase precision will result in higher accuracy with the rounding&lt;/P&gt;&lt;P&gt;Don't add the 12 factor here and click &lt;STRONG&gt;OK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_1-1729100979796.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422375iC868079CA2B97906/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_1-1729100979796.png" alt="paullimapa_1-1729100979796.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now back in the original Field window click &lt;STRONG&gt;Evaluate&lt;/STRONG&gt;&amp;nbsp;button and you'll see the rounded value to the nearest 0.5 in &lt;STRONG&gt;Preview&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_2-1729101041459.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422376iD66447F3126F7FE7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_2-1729101041459.png" alt="paullimapa_2-1729101041459.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this example 9.77 x 12 =&amp;nbsp;&lt;STRONG&gt;117.24&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The nearest 0.5 = &lt;STRONG&gt;117.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here's another example with the Diameter value shown as 11.62&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_3-1729101199893.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422378iE314A9B1F5093F73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_3-1729101199893.png" alt="paullimapa_3-1729101199893.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;11.62 x 12 =&amp;nbsp;&lt;STRONG&gt;139.44&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The nearest 0.5 &lt;STRONG&gt;= 139.5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2024 17:58:39 GMT</pubDate>
    <dc:creator>paullimapa</dc:creator>
    <dc:date>2024-10-16T17:58:39Z</dc:date>
    <item>
      <title>Rounding a Field number to the nearest .5' that is pulling off of diameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rounding-a-field-number-to-the-nearest-5-that-is-pulling-off-of/m-p/13088755#M8955</link>
      <description>&lt;P&gt;I have a field setup so that it pulls the diameter of a circle &amp;amp; coverts it into inches, but I would like for it to be to the nearest .5". Is there a way to do that through Fields?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_donohue5FLDZ_0-1729095921065.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422339i97DFEA404BD174D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_donohue5FLDZ_0-1729095921065.png" alt="chris_donohue5FLDZ_0-1729095921065.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 16:27:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rounding-a-field-number-to-the-nearest-5-that-is-pulling-off-of/m-p/13088755#M8955</guid>
      <dc:creator>chris_donohue5FLDZ</dc:creator>
      <dc:date>2024-10-16T16:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding a Field number to the nearest .5' that is pulling off of diameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rounding-a-field-number-to-the-nearest-5-that-is-pulling-off-of/m-p/13088897#M8956</link>
      <description>&lt;P&gt;See if this helps:&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/autocad-forum/field-value-round-up/td-p/10310824" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/autocad-forum/field-value-round-up/td-p/10310824&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul's answer below is your better choice.&amp;nbsp; Please ignore my answer.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 18:16:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rounding-a-field-number-to-the-nearest-5-that-is-pulling-off-of/m-p/13088897#M8956</guid>
      <dc:creator>apjones</dc:creator>
      <dc:date>2024-10-16T18:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding a Field number to the nearest .5' that is pulling off of diameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rounding-a-field-number-to-the-nearest-5-that-is-pulling-off-of/m-p/13088966#M8957</link>
      <description>&lt;P&gt;To do this you'll have to enter the &lt;STRONG&gt;FIELD&lt;/STRONG&gt; command&lt;/P&gt;&lt;P&gt;Field category: select &lt;STRONG&gt;Objects&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Field names: select &lt;STRONG&gt;Formula&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Leave the Format as &lt;STRONG&gt;Decimal&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Precision: select&amp;nbsp;&lt;STRONG&gt;0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In the formula window enter:&lt;/P&gt;&lt;P&gt;0.5*ROUND(1*12/0.5)&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;1&lt;/STRONG&gt; in this case is a place holder.&lt;/P&gt;&lt;P&gt;Then select &lt;STRONG&gt;1&lt;/STRONG&gt; and right mouse click&lt;/P&gt;&lt;P&gt;on the cursor menu select &lt;STRONG&gt;Insert Field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1729100791168.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422374i915CDB47614F350E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_0-1729100791168.png" alt="paullimapa_0-1729100791168.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now on the 2nd &lt;STRONG&gt;FIELD&lt;/STRONG&gt;&amp;nbsp;window:&lt;/P&gt;&lt;P&gt;Field category: select &lt;STRONG&gt;Objects&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Field names: select &lt;STRONG&gt;Object&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Pick your &lt;STRONG&gt;Circle&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Under Property select &lt;STRONG&gt;Diameter&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Leave the Format as &lt;STRONG&gt;Decimal&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Precision: select&amp;nbsp;&lt;STRONG&gt;0.00&lt;/STRONG&gt; &amp;lt;increase precision will result in higher accuracy with the rounding&lt;/P&gt;&lt;P&gt;Don't add the 12 factor here and click &lt;STRONG&gt;OK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_1-1729100979796.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422375iC868079CA2B97906/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_1-1729100979796.png" alt="paullimapa_1-1729100979796.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now back in the original Field window click &lt;STRONG&gt;Evaluate&lt;/STRONG&gt;&amp;nbsp;button and you'll see the rounded value to the nearest 0.5 in &lt;STRONG&gt;Preview&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_2-1729101041459.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422376iD66447F3126F7FE7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_2-1729101041459.png" alt="paullimapa_2-1729101041459.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this example 9.77 x 12 =&amp;nbsp;&lt;STRONG&gt;117.24&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The nearest 0.5 = &lt;STRONG&gt;117.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here's another example with the Diameter value shown as 11.62&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_3-1729101199893.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422378iE314A9B1F5093F73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_3-1729101199893.png" alt="paullimapa_3-1729101199893.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;11.62 x 12 =&amp;nbsp;&lt;STRONG&gt;139.44&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The nearest 0.5 &lt;STRONG&gt;= 139.5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 17:58:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rounding-a-field-number-to-the-nearest-5-that-is-pulling-off-of/m-p/13088966#M8957</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-10-16T17:58:39Z</dc:date>
    </item>
  </channel>
</rss>

