<?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 in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/3508#M1507</link>
    <description>You were nearly there! Try this code:&lt;BR /&gt;
&lt;BR /&gt;
PROC FORMAT;&lt;BR /&gt;
 PICTURE PLUSMIN&lt;BR /&gt;
  LOW-&amp;lt;0="0,009.9" (PREFIX="-")&lt;BR /&gt;
  0-HIGH="0,009.9" (PREFIX="+");&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
Note that you will need to associate the format with a variable using a width e.g. FORMAT NUMBER PLUSMIN8.;&lt;BR /&gt;
to give extra room at the front for four-digit values, otherwise you lose the '+' sign.&lt;BR /&gt;
&lt;BR /&gt;
Robert</description>
    <pubDate>Fri, 22 Jun 2007 09:41:20 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-06-22T09:41:20Z</dc:date>
    <item>
      <title>Proc Format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/3506#M1505</link>
      <description>Hi ,&lt;BR /&gt;
I have used the following proc fromat for displaying some percentage values with + or - in decimals.(Eg: +7.7 , -0.8 etc).But this proc format works only for values greater than or less than 0. But i need to display the format for the value 0 also.( like +0.0 or -0.0). &lt;BR /&gt;
PROC FORMAT;                                              &lt;BR /&gt;
PICTURE plusmin low -&amp;lt; 0 = '0,009.9' (prefix = '- ' )&lt;BR /&gt;
            0 &amp;lt;- high = '0,009.9' ( prefix = '+ ' )&lt;BR /&gt;
;    &lt;BR /&gt;
Please help me ASAP.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Sandhya</description>
      <pubDate>Thu, 21 Jun 2007 05:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/3506#M1505</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-21T05:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/3507#M1506</link>
      <description>&amp;gt; Hi ,&lt;BR /&gt;
&amp;gt; I have used the following proc fromat for displaying&lt;BR /&gt;
&amp;gt; some percentage values with + or - in decimals.(Eg:&lt;BR /&gt;
&amp;gt; +7.7 , -0.8 etc).But this proc format works only for&lt;BR /&gt;
&amp;gt; values greater than or less than 0. But i need to&lt;BR /&gt;
&amp;gt; display the format for the value 0 also.( like +0.0&lt;BR /&gt;
&amp;gt; or -0.0). &lt;BR /&gt;
&amp;gt; PROC FORMAT;&lt;BR /&gt;
&amp;gt;   PICTURE plusmin                                         &lt;BR /&gt;
&amp;gt; low -&amp;lt; 0 = 0009.9 (prefix = '-' )&lt;BR /&gt;
&amp;gt;  0 &amp;lt;- high = '0,009.9' ( prefix = '+ ' )&lt;BR /&gt;
&amp;gt; Please help me ASAP.&lt;BR /&gt;
&amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; Sandhya</description>
      <pubDate>Thu, 21 Jun 2007 11:42:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/3507#M1506</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-21T11:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/3508#M1507</link>
      <description>You were nearly there! Try this code:&lt;BR /&gt;
&lt;BR /&gt;
PROC FORMAT;&lt;BR /&gt;
 PICTURE PLUSMIN&lt;BR /&gt;
  LOW-&amp;lt;0="0,009.9" (PREFIX="-")&lt;BR /&gt;
  0-HIGH="0,009.9" (PREFIX="+");&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
Note that you will need to associate the format with a variable using a width e.g. FORMAT NUMBER PLUSMIN8.;&lt;BR /&gt;
to give extra room at the front for four-digit values, otherwise you lose the '+' sign.&lt;BR /&gt;
&lt;BR /&gt;
Robert</description>
      <pubDate>Fri, 22 Jun 2007 09:41:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/3508#M1507</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-22T09:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/3509#M1508</link>
      <description>Sorry, due to technical problems, my earlier reply was truncated. Here follows the full text.&lt;BR /&gt;
&lt;BR /&gt;
You were nearly there! Try this code:&lt;BR /&gt;
&lt;BR /&gt;
PROC FORMAT;&lt;BR /&gt;
 PICTURE PLUSMIN&lt;BR /&gt;
  LOW -&amp;lt; 0="0,009.9" (PREFIX="-")&lt;BR /&gt;
  0-HIGH="0,009.9" (PREFIX="+");&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
Note that you will need to associate the format with a variable using a width e.g.&lt;BR /&gt;
FORMAT NUMBER PLUSMIN8.;&lt;BR /&gt;
to give extra room at the front for four-digit values, otherwise you lose the '+' or '-' sign.&lt;BR /&gt;
&lt;BR /&gt;
Robert</description>
      <pubDate>Fri, 22 Jun 2007 11:46:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/3509#M1508</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-22T11:46:24Z</dc:date>
    </item>
  </channel>
</rss>

