<?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 Is there a way to limit decimal or round off values coming from API? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Is-there-a-way-to-limit-decimal-or-round-off-values-coming-from/m-p/571579#M8755</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the subject suggests there is a need to limit the decimal of the property values that is coming from an API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The decimal limited value should be rounded off to the specified decimal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example the property 'volume' of '&lt;SPAN&gt;API_RailingBalusterQuantity' is giving a value of&amp;nbsp;7.1108929735418900e-05 or&amp;nbsp;0.0000711089297354189, but we would like that value to be rounded off to 4 decimal places.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The value should be '0.0001'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help me on this.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 11:21:47 GMT</pubDate>
    <dc:creator>cad developer</dc:creator>
    <dc:date>2024-09-17T11:21:47Z</dc:date>
    <item>
      <title>Is there a way to limit decimal or round off values coming from API?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Is-there-a-way-to-limit-decimal-or-round-off-values-coming-from/m-p/571579#M8755</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the subject suggests there is a need to limit the decimal of the property values that is coming from an API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The decimal limited value should be rounded off to the specified decimal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example the property 'volume' of '&lt;SPAN&gt;API_RailingBalusterQuantity' is giving a value of&amp;nbsp;7.1108929735418900e-05 or&amp;nbsp;0.0000711089297354189, but we would like that value to be rounded off to 4 decimal places.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The value should be '0.0001'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help me on this.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 11:21:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Is-there-a-way-to-limit-decimal-or-round-off-values-coming-from/m-p/571579#M8755</guid>
      <dc:creator>cad developer</dc:creator>
      <dc:date>2024-09-17T11:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to limit decimal or round off values coming from API?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Is-there-a-way-to-limit-decimal-or-round-off-values-coming-from/m-p/571586#M8756</link>
      <description>&lt;P&gt;I dont exactly understand the question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The result of&amp;nbsp;&lt;SPAN&gt;API_RailingBalusterQuantity() gets stored to local variable. After that you can round it as you desire using c/c++ functions/routines like round().&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 13:16:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Is-there-a-way-to-limit-decimal-or-round-off-values-coming-from/m-p/571586#M8756</guid>
      <dc:creator>Miha Nahtigal</dc:creator>
      <dc:date>2023-10-19T13:16:58Z</dc:date>
    </item>
  </channel>
</rss>

