<?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: Proc Expand generate -0 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Expand-generate-0/m-p/709168#M218027</link>
    <description>&lt;P&gt;First, you could change the format of all of these variables such that –0 will appear as zero. Although I am surprised that a sum of integers would give a –0, and I am thinking perhaps you haven't really described everything going on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that's not it, you could write an ARRAY to perform whatever task you want on all variables.&lt;/P&gt;</description>
    <pubDate>Sun, 03 Jan 2021 18:47:55 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-01-03T18:47:55Z</dc:date>
    <item>
      <title>Proc Expand generate -0</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Expand-generate-0/m-p/709167#M218026</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I have a column out which contain only value 1, 0,-1 based on IF THEN ELSE statement.&lt;/P&gt;
&lt;P&gt;Then, I use proc expand to calculate moving sum and the output has -0 (in scientific format).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can kill the -0 with INT() but my program has hundred of column like that. Thus it is better that I solve the issue inside the proc expand.&lt;/P&gt;
&lt;P&gt;Can you please help?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;HHC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2021 18:42:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Expand-generate-0/m-p/709167#M218026</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2021-01-03T18:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Expand generate -0</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Expand-generate-0/m-p/709168#M218027</link>
      <description>&lt;P&gt;First, you could change the format of all of these variables such that –0 will appear as zero. Although I am surprised that a sum of integers would give a –0, and I am thinking perhaps you haven't really described everything going on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that's not it, you could write an ARRAY to perform whatever task you want on all variables.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2021 18:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Expand-generate-0/m-p/709168#M218027</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-01-03T18:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Expand generate -0</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Expand-generate-0/m-p/709171#M218030</link>
      <description>&lt;P&gt;Change the conversion method to something other than the default (SPLINE). Try METHOD=STEP, for example.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2021 20:24:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Expand-generate-0/m-p/709171#M218030</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2021-01-03T20:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Expand generate -0</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Expand-generate-0/m-p/709176#M218034</link>
      <description>&lt;P&gt;Thanks a lot!&lt;/P&gt;
&lt;P&gt;It works.&lt;/P&gt;
&lt;P&gt;HHC&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2021 22:02:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Expand-generate-0/m-p/709176#M218034</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2021-01-03T22:02:08Z</dc:date>
    </item>
  </channel>
</rss>

