<?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 to change negative value to positive in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-change-negative-value-to-positive/m-p/628762#M185854</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input number;
datalines;
100
-100
200
-200
;

data want;
    set have;
    where number &amp;gt;= 0;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 02 Mar 2020 13:52:02 GMT</pubDate>
    <dc:creator>Stephanvd</dc:creator>
    <dc:date>2020-03-02T13:52:02Z</dc:date>
    <item>
      <title>how to change negative value to positive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-change-negative-value-to-positive/m-p/628728#M185835</link>
      <description>&lt;P&gt;good day,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if&amp;nbsp; i got the data like below. what can i do to remove negative value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;number&lt;/P&gt;
&lt;P&gt;100&lt;/P&gt;
&lt;P&gt;-100&lt;/P&gt;
&lt;P&gt;200&lt;/P&gt;
&lt;P&gt;-200&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance&lt;/P&gt;
&lt;P&gt;harry&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 11:09:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-change-negative-value-to-positive/m-p/628728#M185835</guid>
      <dc:creator>harrylui</dc:creator>
      <dc:date>2020-03-02T11:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to change negative value to positive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-change-negative-value-to-positive/m-p/628729#M185836</link>
      <description>&lt;P&gt;There is a difference between changing negative values to positive and removing negative values. I think you want the first, as indicated in your subject.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input number;
datalines;
100
-100
200
-200
;

data want;
    set have;
    number = abs(number);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Mar 2020 11:14:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-change-negative-value-to-positive/m-p/628729#M185836</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-03-02T11:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to change negative value to positive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-change-negative-value-to-positive/m-p/628762#M185854</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input number;
datalines;
100
-100
200
-200
;

data want;
    set have;
    where number &amp;gt;= 0;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Mar 2020 13:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-change-negative-value-to-positive/m-p/628762#M185854</guid>
      <dc:creator>Stephanvd</dc:creator>
      <dc:date>2020-03-02T13:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to change negative value to positive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-change-negative-value-to-positive/m-p/628996#M185938</link>
      <description>&lt;P&gt;thank you all!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 01:55:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-change-negative-value-to-positive/m-p/628996#M185938</guid>
      <dc:creator>harrylui</dc:creator>
      <dc:date>2020-03-03T01:55:56Z</dc:date>
    </item>
  </channel>
</rss>

