<?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: how to get exactly value of DynamicBlockReferenceProperty of a BlockReference? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-get-exactly-value-of-dynamicblockreferenceproperty-of-a/m-p/11787066#M9763</link>
    <description>&lt;P&gt;As far as I know, Round is the only solution.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_gile_0-1677581945372.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1182419iBB2E8FB03F2592AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_gile_0-1677581945372.png" alt="_gile_0-1677581945372.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could you provide an example where the Math.Round function does not return the expected value?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 11:01:32 GMT</pubDate>
    <dc:creator>_gile</dc:creator>
    <dc:date>2023-02-28T11:01:32Z</dc:date>
    <item>
      <title>how to get exactly value of DynamicBlockReferenceProperty of a BlockReference?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-exactly-value-of-dynamicblockreferenceproperty-of-a/m-p/11786495#M9760</link>
      <description>&lt;P&gt;When I want to get value of a&amp;nbsp;DynamicBlockReferenceProperty and it is a double value, I'm getting inaccurate value like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ehsanbahrani_0-1677561278349.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1182298iFD2DDDBBDB847C97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ehsanbahrani_0-1677561278349.png" alt="ehsanbahrani_0-1677561278349.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;how can I get the exactly value of doubles?&lt;/P&gt;&lt;P&gt;(I know we can use Math.Round(value,4) but for reasons we don't want to use this way)&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 05:17:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-exactly-value-of-dynamicblockreferenceproperty-of-a/m-p/11786495#M9760</guid>
      <dc:creator>ehsan_bahrani</dc:creator>
      <dc:date>2023-02-28T05:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to get exactly value of DynamicBlockReferenceProperty of a BlockReference?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-exactly-value-of-dynamicblockreferenceproperty-of-a/m-p/11786707#M9761</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a well-known problem in computer science with the real numbers encoding. AutoCAD uses the double precision floating point encoding (&lt;A href="https://learn.microsoft.com/en-us/dotnet/api/system.double?view=netframework-4.8" target="_blank" rel="noopener"&gt;double type&lt;/A&gt; with NET) which provides a precision around 15-17 significant digits (16 digits in your case).&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 07:51:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-exactly-value-of-dynamicblockreferenceproperty-of-a/m-p/11786707#M9761</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2023-02-28T07:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to get exactly value of DynamicBlockReferenceProperty of a BlockReference?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-exactly-value-of-dynamicblockreferenceproperty-of-a/m-p/11787048#M9762</link>
      <description>&lt;P&gt;Hi and thank for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, what is the solution for this? how I can get the correct value? in some situation (that I don't know which are) even use Math.Round(,) function the return value is not same as actual value that is shown in properties palette of AutoCAD.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 10:53:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-exactly-value-of-dynamicblockreferenceproperty-of-a/m-p/11787048#M9762</guid>
      <dc:creator>ehsan_bahrani</dc:creator>
      <dc:date>2023-02-28T10:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to get exactly value of DynamicBlockReferenceProperty of a BlockReference?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-exactly-value-of-dynamicblockreferenceproperty-of-a/m-p/11787066#M9763</link>
      <description>&lt;P&gt;As far as I know, Round is the only solution.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_gile_0-1677581945372.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1182419iBB2E8FB03F2592AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_gile_0-1677581945372.png" alt="_gile_0-1677581945372.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could you provide an example where the Math.Round function does not return the expected value?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 11:01:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-exactly-value-of-dynamicblockreferenceproperty-of-a/m-p/11787066#M9763</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2023-02-28T11:01:32Z</dc:date>
    </item>
  </channel>
</rss>

