<?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 How to compare a positive and negative value and determine which is larger in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/How-to-compare-a-positive-and-negative-value-and-determine-which/m-p/585517#M6242</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the topic suggests, is there a way to compare two values, one being a positive value and the other a negative, and determine which is the larger value? For example, I have two values, the first is 589 and the second is -788. I want to compare the values irrespective of whether it is positive or negative, in this instance the -788 is the larger value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a GDL command to easily swap a value from being negative to positive?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jarrod&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 11:23:56 GMT</pubDate>
    <dc:creator>Jarrod Phillips</dc:creator>
    <dc:date>2024-09-26T11:23:56Z</dc:date>
    <item>
      <title>How to compare a positive and negative value and determine which is larger</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-compare-a-positive-and-negative-value-and-determine-which/m-p/585517#M6242</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the topic suggests, is there a way to compare two values, one being a positive value and the other a negative, and determine which is the larger value? For example, I have two values, the first is 589 and the second is -788. I want to compare the values irrespective of whether it is positive or negative, in this instance the -788 is the larger value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a GDL command to easily swap a value from being negative to positive?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jarrod&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:23:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-compare-a-positive-and-negative-value-and-determine-which/m-p/585517#M6242</guid>
      <dc:creator>Jarrod Phillips</dc:creator>
      <dc:date>2024-09-26T11:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare a positive and negative value and determine which is larger</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-compare-a-positive-and-negative-value-and-determine-which/m-p/585518#M6243</link>
      <description>&lt;P&gt;ABS (x)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gdl.graphisoft.com/reference-guide/functions" target="_blank"&gt;https://gdl.graphisoft.com/reference-guide/functions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 07:17:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-compare-a-positive-and-negative-value-and-determine-which/m-p/585518#M6243</guid>
      <dc:creator>Miha Nahtigal</dc:creator>
      <dc:date>2024-01-26T07:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare a positive and negative value and determine which is larger</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-compare-a-positive-and-negative-value-and-determine-which/m-p/585519#M6244</link>
      <description>&lt;P&gt;Perfect, thanks&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/8208"&gt;@Miha Nahtigal&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 07:20:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-compare-a-positive-and-negative-value-and-determine-which/m-p/585519#M6244</guid>
      <dc:creator>Jarrod Phillips</dc:creator>
      <dc:date>2024-01-26T07:20:15Z</dc:date>
    </item>
  </channel>
</rss>

