<?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 format for negative values in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-format-for-negative-values/m-p/860257#M26197</link>
    <description>&lt;P&gt;Thank You&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2023 18:46:09 GMT</pubDate>
    <dc:creator>david27</dc:creator>
    <dc:date>2023-02-22T18:46:09Z</dc:date>
    <item>
      <title>Proc format for negative values</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-format-for-negative-values/m-p/860232#M26193</link>
      <description>&lt;P&gt;I have this existing code. But it does not display negative values.&lt;/P&gt;&lt;P&gt;All negative values show up as positive value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can be an alternative way here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;	proc Format ;
		picture  NumFmt
			0 = ' '
			other = '000,000,009'
		;Quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Feb 2023 17:33:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-format-for-negative-values/m-p/860232#M26193</guid>
      <dc:creator>david27</dc:creator>
      <dc:date>2023-02-22T17:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc format for negative values</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-format-for-negative-values/m-p/860240#M26194</link>
      <description>&lt;P&gt;Negative values falls under "Other".&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format ;
    picture numfmt
        low-&amp;lt;0='0,000,000,009' (prefix='-')
        0 = ' '
        0&amp;lt;-high= '000,000,009';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That should work, but you don't really need picture formats here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
    value numfmt 0=' ' other=[comma12.0];
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Feb 2023 18:12:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-format-for-negative-values/m-p/860240#M26194</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-02-22T18:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc format for negative values</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-format-for-negative-values/m-p/860253#M26195</link>
      <description>&lt;P&gt;Thank You&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is&amp;nbsp;&lt;/P&gt;&lt;PRE class=""&gt;&lt;CODE&gt;'0,000,000,009'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;anyways?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 18:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-format-for-negative-values/m-p/860253#M26195</guid>
      <dc:creator>david27</dc:creator>
      <dc:date>2023-02-22T18:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc format for negative values</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-format-for-negative-values/m-p/860255#M26196</link>
      <description>&lt;P&gt;9 prints zeroes, zeroes print blanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's called a digit selector in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See page 6/7 of this document for an example that clarifies it more:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi31/243-31.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings/proceedings/sugi31/243-31.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 18:44:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-format-for-negative-values/m-p/860255#M26196</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-02-22T18:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc format for negative values</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-format-for-negative-values/m-p/860257#M26197</link>
      <description>&lt;P&gt;Thank You&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 18:46:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-format-for-negative-values/m-p/860257#M26197</guid>
      <dc:creator>david27</dc:creator>
      <dc:date>2023-02-22T18:46:09Z</dc:date>
    </item>
  </channel>
</rss>

