<?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 converting text to integers? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/converting-text-to-integers/m-p/5367#M41847</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I've been rooting around in the GDL manual &amp;amp; cookbook, without any luck so far....&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to convert a text string of numbers (such as  "4" fed from a "Values" list) to be an integer, so I can use it for calculation?&lt;BR /&gt;
&lt;BR /&gt;
I keep thinking there has to be one, and I'm just not looking in the right place.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 07 Jan 2004 21:20:03 GMT</pubDate>
    <dc:creator>TomWaltz</dc:creator>
    <dc:date>2004-01-07T21:20:03Z</dc:date>
    <item>
      <title>converting text to integers?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/converting-text-to-integers/m-p/5367#M41847</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I've been rooting around in the GDL manual &amp;amp; cookbook, without any luck so far....&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to convert a text string of numbers (such as  "4" fed from a "Values" list) to be an integer, so I can use it for calculation?&lt;BR /&gt;
&lt;BR /&gt;
I keep thinking there has to be one, and I'm just not looking in the right place.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Jan 2004 21:20:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/converting-text-to-integers/m-p/5367#M41847</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2004-01-07T21:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: converting text to integers?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/converting-text-to-integers/m-p/5368#M41848</link>
      <description>&lt;BLOCKQUOTE&gt;TomWaltz wrote:&lt;BR /&gt;I've been rooting around in the GDL manual &amp;amp; cookbook, without any luck so far....&lt;BR /&gt;
      Is there a way to convert a text string of numbers (such as  "4" fed from a "Values" list) to be an integer, so I can use it for calculation?
&lt;/BLOCKQUOTE&gt;

The answer is SPLIT(), look in the Index of the Cookbook for that, if its Cookbook 3 that you have. Should be in the manual too.&lt;BR /&gt;
     SPLIT will take that first digit and make it into an integer number.&lt;BR /&gt;
  sometimes it would be nice if the index could be more like a thesaurus with expressions like 'string parsing' included. the new CB4 will have a clearer structure.</description>
      <pubDate>Wed, 07 Jan 2004 21:41:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/converting-text-to-integers/m-p/5368#M41848</guid>
      <dc:creator>david nicholson-cole</dc:creator>
      <dc:date>2004-01-07T21:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: converting text to integers?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/converting-text-to-integers/m-p/5369#M41849</link>
      <description>You can use integers in a values list by just leaving  the numbers out of quotes. (Ex. - values "c" 2,3,4).  This keeps the value as a number, not as text.  Just be sure your parameters are for integers or real numbers when setting it up.</description>
      <pubDate>Wed, 07 Jan 2004 21:41:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/converting-text-to-integers/m-p/5369#M41849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-07T21:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: converting text to integers?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/converting-text-to-integers/m-p/5370#M41850</link>
      <description>it was the quotes. Doh!!&lt;BR /&gt;
&lt;BR /&gt;
My problem now is that my numbers are reading 4.00 and 12.00.... how do I kill the decimal points?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
      <pubDate>Wed, 07 Jan 2004 22:00:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/converting-text-to-integers/m-p/5370#M41850</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2004-01-07T22:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: converting text to integers?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/converting-text-to-integers/m-p/5371#M41851</link>
      <description>&lt;BLOCKQUOTE&gt;TomWaltz wrote:&lt;BR /&gt;it was the quotes. Doh!!&lt;BR /&gt;
&lt;BR /&gt;
My problem now is that my numbers are reading 4.00 and 12.00.... how do I kill the decimal points?&lt;/BLOCKQUOTE&gt;

Be sure that the Parameter type is "Integer" and not "Real Number".</description>
      <pubDate>Wed, 07 Jan 2004 23:03:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/converting-text-to-integers/m-p/5371#M41851</guid>
      <dc:creator>David Larrew</dc:creator>
      <dc:date>2004-01-07T23:03:48Z</dc:date>
    </item>
  </channel>
</rss>

