<?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 Report Format percentage in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Format-percentage/m-p/403386#M98026</link>
    <description>&lt;P&gt;first divide your number by 100, then use the nlpctn6.2 format&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2017 22:28:58 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2017-10-11T22:28:58Z</dc:date>
    <item>
      <title>Proc Report Format percentage</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Format-percentage/m-p/403297#M97994</link>
      <description>&lt;P&gt;I have a dataset which one of the column has a value of "-0.75" but in proc report I want to display as "-0.75%". When I apply the format percent9.2 it converts to "(75.435)". &lt;STRONG&gt;But I want to display as "-0.75%".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data Percent;&lt;BR /&gt;format x BEST8. &lt;BR /&gt; p1 PERCENT7.1;&lt;BR /&gt;label x = "Raw value"&lt;BR /&gt; p1 = "PERCENT7.1";&lt;BR /&gt;input x @@;&lt;BR /&gt;p1 = x;&lt;BR /&gt; &lt;BR /&gt;datalines;&lt;BR /&gt;1.85185 3.44498 -0.92507 -0.7543456&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;proc print data=Percent noobs label; run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Oct 2017 18:18:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Format-percentage/m-p/403297#M97994</guid>
      <dc:creator>K1235</dc:creator>
      <dc:date>2017-10-11T18:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Format percentage</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Format-percentage/m-p/403314#M98001</link>
      <description>&lt;P&gt;Use the PERCENTN format and all is good&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 18:54:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Format-percentage/m-p/403314#M98001</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2017-10-11T18:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Format percentage</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Format-percentage/m-p/403380#M98021</link>
      <description>&lt;P&gt;Thank you for replying&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller&lt;/a&gt;. But PERCENTN didnt solve. It outputs as (75.43%). I want to display as -0.75%.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 22:09:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Format-percentage/m-p/403380#M98021</guid>
      <dc:creator>K1235</dc:creator>
      <dc:date>2017-10-11T22:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Format percentage</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Format-percentage/m-p/403386#M98026</link>
      <description>&lt;P&gt;first divide your number by 100, then use the nlpctn6.2 format&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 22:28:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Format-percentage/m-p/403386#M98026</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-10-11T22:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Format percentage</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Format-percentage/m-p/403389#M98029</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/58730"&gt;@K1235&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for replying&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller&lt;/a&gt;. But PERCENTN didnt solve. It outputs as (75.43%). I want to display as -0.75%.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Show the code. One suspects you missed the format spelling. And a value to appear as -0.75% would have to be -.0075 as a decimal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data junk;
   x=-.007543;
run;
proc print data=junk;
   format x percentn10.4;
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Oct 2017 22:47:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Format-percentage/m-p/403389#M98029</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-10-11T22:47:48Z</dc:date>
    </item>
  </channel>
</rss>

