<?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 from GDL to learn the number of decimal places in the project settings in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296096#M4098</link>
    <description>A little not that. But it turned out that it works:&lt;BR /&gt;
REQUEST ("Calc_area_unit", "", format_string)&lt;BR /&gt;
Thank you so much ! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
    <pubDate>Tue, 19 Jun 2018 12:43:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-19T12:43:44Z</dc:date>
    <item>
      <title>How from GDL to learn the number of decimal places in the project settings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296093#M4095</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I need to change the number of decimal places in the GDL object according to the project settings .&lt;BR /&gt;
How do I get this number?&lt;BR /&gt;
Thank you.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Jun 2018 12:05:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296093#M4095</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T12:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: How from GDL to learn the number of decimal places in the project settings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296094#M4096</link>
      <description>&lt;BLOCKQUOTE&gt;Tsepov wrote:&lt;BR /&gt;I need to change the number of decimal places in the GDL object according to the project settings .&lt;BR /&gt;
How do I get this number?&lt;BR /&gt;
Thank you.&lt;/BLOCKQUOTE&gt;

&lt;PRE&gt;rrr = REQUEST ("Area_dimension", "", format_string)
zzz = format_string

text2 0, 0, str(zzz, room_area)&lt;/PRE&gt;

Hope this helps &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 19 Jun 2018 12:18:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296094#M4096</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2018-06-19T12:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: How from GDL to learn the number of decimal places in the project settings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296095#M4097</link>
      <description>In my special team, the number of decimal places does not exist.&lt;BR /&gt;
There is only a general request about the units.&lt;BR /&gt;
Similarly,  JGoode, but he pointed out the not quite right command, not about the calculations, but about the units of measurement.&lt;BR /&gt;

&lt;PRE&gt;qw=REQUEST ("Calc_area_unit", "", form_str)
AreaUN = form_str&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Jun 2018 12:39:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296095#M4097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T12:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: How from GDL to learn the number of decimal places in the project settings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296096#M4098</link>
      <description>A little not that. But it turned out that it works:&lt;BR /&gt;
REQUEST ("Calc_area_unit", "", format_string)&lt;BR /&gt;
Thank you so much ! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 19 Jun 2018 12:43:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296096#M4098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T12:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: How from GDL to learn the number of decimal places in the project settings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296097#M4099</link>
      <description>I copied the wrong piece of code...silly me. Thanks for clearing it up.</description>
      <pubDate>Tue, 19 Jun 2018 12:46:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296097#M4099</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2018-06-19T12:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: How from GDL to learn the number of decimal places in the project settings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296098#M4100</link>
      <description>Friends, thank you very much!&lt;BR /&gt;
I made it possible for my add-ons to automatically detect this.&lt;BR /&gt;
In the apartment marker I will also make an opportunity.&lt;BR /&gt;
It would be nice if the zone LSR marker also had a tick "get the number of decimal places from the project settings".</description>
      <pubDate>Tue, 19 Jun 2018 12:50:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296098#M4100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T12:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: How from GDL to learn the number of decimal places in the project settings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296099#M4101</link>
      <description>This code is work for assign num round digits to TS_ROUNDIGITS from project settings if needed&lt;BR /&gt;
-------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
Common script:&lt;BR /&gt;
&lt;BR /&gt;
IF TS_GETNDIGITSFROMPRJ = 1 THEN&lt;BR /&gt;
   rrr = REQUEST ("Calc_Area_unit", "", format_string)&lt;BR /&gt;
   zzz = STRSUB(format_string,3,1)&lt;BR /&gt;
   SPLIT (zzz, "%n", nddd)&lt;BR /&gt;
   if (nddd &amp;gt; 0)AND(nddd &amp;lt; 4) then&lt;BR /&gt;
      TS_ROUNDIGITS = nddd&lt;BR /&gt;
   endif&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
Parameter script:&lt;BR /&gt;
&lt;BR /&gt;
IF TS_GETNDIGITSFROMPRJ = 1 THEN&lt;BR /&gt;
   PARAMETERS TS_ROUNDIGITS=TS_ROUNDIGITS&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
---------------&lt;BR /&gt;
Thank you again!)</description>
      <pubDate>Tue, 19 Jun 2018 14:40:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-from-GDL-to-learn-the-number-of-decimal-places-in-the/m-p/296099#M4101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T14:40:00Z</dc:date>
    </item>
  </channel>
</rss>

