<?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 percentage format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117230#M259428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in that case you can use the below picture format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format fmtlib;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture val low-&amp;lt;1='9.99%'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;lt;-high='009%';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Oct 2013 12:52:56 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2013-10-19T12:52:56Z</dc:date>
    <item>
      <title>PROC FORMAT for percentage format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117226#M259424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used following syntex to format the number to percentage. However for number of 0.858369, it gives 85%. Is there a way to get correct percetage of 0.85%?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format library = fmt;&lt;/P&gt;&lt;P&gt;picture pctfmt low-high='000.00%';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weizhong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 05:06:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117226#M259424</guid>
      <dc:creator>weizhongma</dc:creator>
      <dc:date>2013-10-19T05:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FORMAT for percentage format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117227#M259425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try the below picture format &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;picture val low-high='9.99%';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data class;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; val=put(0.858369,val.);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 05:16:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117227#M259425</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-10-19T05:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FORMAT for percentage format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117228#M259426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Jagadish.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However my data mixed of numbers such as 20, 100 and 0.858369. If there way to wark around? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 07:19:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117228#M259426</guid>
      <dc:creator>weizhongma</dc:creator>
      <dc:date>2013-10-19T07:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FORMAT for percentage format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117229#M259427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to RTM.&amp;nbsp; Look for the round option.&amp;nbsp; You will also need more digit selectors for the larger numbers and what about negative.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 11:32:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117229#M259427</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-10-19T11:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FORMAT for percentage format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117230#M259428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in that case you can use the below picture format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format fmtlib;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture val low-&amp;lt;1='9.99%'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;lt;-high='009%';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 12:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117230#M259428</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-10-19T12:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FORMAT for percentage format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117231#M259429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Oct 2013 15:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117231#M259429</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-10-20T15:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FORMAT for percentage format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117232#M259430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you data_null_, please find below my corrected code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format fmtlib;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture val low-&amp;lt;1='9.99%'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; 1-high='009%';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Oct 2013 15:56:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117232#M259430</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-10-20T15:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FORMAT for percentage format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117233#M259431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about the sign if the value is negative?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 10:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117233#M259431</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-10-21T10:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FORMAT for percentage format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117234#M259432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you data_null_, updated the picture format to consider the negative values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format fmtlib;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture val &lt;STRONG&gt;low-&amp;lt;0='09.99%' (prefix='-')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0-&amp;lt;1='09.99%' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-high='009%';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 12:36:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FORMAT-for-percentage-format/m-p/117234#M259432</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-10-21T12:36:03Z</dc:date>
    </item>
  </channel>
</rss>

