<?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: STRING FUNCTIONS STR ( ) , STR ( ), and STR {2} in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114800#M12849</link>
    <description>Nevermind... I stole it from the BUILDER DIM.</description>
    <pubDate>Wed, 23 Jul 2014 04:58:01 GMT</pubDate>
    <dc:creator>vfrontiers</dc:creator>
    <dc:date>2014-07-23T04:58:01Z</dc:date>
    <item>
      <title>STRING FUNCTIONS STR ( ) , STR ( ), and STR {2}</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114796#M12845</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello,&lt;BR /&gt;
I made a library part that measures and displays distances.&lt;BR /&gt;
The precision can be set from one decimal place to the right&lt;BR /&gt;
of the decimal point to six decimal places using the STR ( ) function.&lt;BR /&gt;
This part displays correctly for all settings up to four decimal places &lt;BR /&gt;
but if set to five or six decimal places in the STR command &lt;BR /&gt;
the display shows the dimension rounded to two decimal places &lt;BR /&gt;
but shows the number of places correctly but showing only zeros.&lt;BR /&gt;
The STR {2} command is mentioned in the GDL manual but is very&lt;BR /&gt;
unclear about how to use it or give any example of its use.&lt;BR /&gt;
It seems that either the STR ( ) function is limited to four decimal place&lt;BR /&gt;
precision or I must use the STR {2} which I don't know how to use.&lt;BR /&gt;
&lt;BR /&gt;
Could someone please tell me if there is a precision limit to the STR function&lt;BR /&gt;
or direct me to a more complete description of the STR {2} function&lt;BR /&gt;
and it's use. &lt;BR /&gt;
Thank you,&lt;BR /&gt;
Peter Devlin&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Dec 2013 01:41:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114796#M12845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-17T01:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: STRING FUNCTIONS STR ( ) , STR ( ), and STR {2}</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114797#M12846</link>
      <description>Hi Peter,&lt;BR /&gt;
&lt;BR /&gt;
no, AFAIK there is no limitation inside the command to 4 digits. Normally I would now refer to selfGDL, but it is still  in German. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
My version of a percision mesure tool you find &lt;A href="http://www.opengdl.org/Default.aspx?tabid=5437&amp;amp;language=en-US" target="_blank"&gt;here&lt;/A&gt;.&lt;BR /&gt;
&lt;BR /&gt;
Can you post your command? I could see, what is going wrong.&lt;BR /&gt;
&lt;BR /&gt;
STR(number, 12,10)&lt;BR /&gt;
&lt;BR /&gt;
should work at least.&lt;BR /&gt;
&lt;BR /&gt;
It looks like STR has a limitit by 10 digits in the fraction part. (What is 1/10 of a nanometer, which is one  angstrom. If I may remark!&lt;BR /&gt;
&lt;BR /&gt;
You can try to use FRA() to separate the fraction part, multiply by 10^n and stitch it together with the integer part by string addition. So you can add some dimension chains for electrons. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;</description>
      <pubDate>Tue, 17 Dec 2013 07:20:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114797#M12846</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2013-12-17T07:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: STRING FUNCTIONS STR ( ) , STR ( ), and STR {2}</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114798#M12847</link>
      <description>Hello Frank,&lt;BR /&gt;
Great to hear from you. It has been a while.&lt;BR /&gt;
Thank you for being willing to look at the code for this object.&lt;BR /&gt;
Peter</description>
      <pubDate>Tue, 17 Dec 2013 18:24:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114798#M12847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-17T18:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: STRING FUNCTIONS STR ( ) , STR ( ), and STR {2}</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114799#M12848</link>
      <description>Closest issue I can find on here...&lt;BR /&gt;
&lt;BR /&gt;
I am trying to create a tag that displays a door dim as 3o8o... where the FEET can be any whole number and the inches is a whole number (up to 11)...&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to truncate / separate SYMB_A_SIZE into one number for Feet and one for inches?  And have it display without the Feet (') or Inch(") symbol?</description>
      <pubDate>Wed, 23 Jul 2014 04:23:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114799#M12848</guid>
      <dc:creator>vfrontiers</dc:creator>
      <dc:date>2014-07-23T04:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: STRING FUNCTIONS STR ( ) , STR ( ), and STR {2}</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114800#M12849</link>
      <description>Nevermind... I stole it from the BUILDER DIM.</description>
      <pubDate>Wed, 23 Jul 2014 04:58:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114800#M12849</guid>
      <dc:creator>vfrontiers</dc:creator>
      <dc:date>2014-07-23T04:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: STRING FUNCTIONS STR ( ) , STR ( ), and STR {2}</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114801#M12850</link>
      <description>But, while I'm here...&lt;BR /&gt;
&lt;BR /&gt;
Is there any way to CUSToMIZE a LEVEL DIMENSION?  I am interested in adding some info to this dimension and having it calculate a HEIGHT DIFFERENCE...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I can't see a way..?</description>
      <pubDate>Wed, 23 Jul 2014 18:04:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/STRING-FUNCTIONS-STR-STR-and-STR-2/m-p/114801#M12850</guid>
      <dc:creator>vfrontiers</dc:creator>
      <dc:date>2014-07-23T18:04:07Z</dc:date>
    </item>
  </channel>
</rss>

