<?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 how to add % sign to output in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215599#M53053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi I have a table that divede one amt into another an it comes out with a decimal I need to add the % sign to the output&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( sales/ inventory)as percentage_sales;&lt;/P&gt;&lt;P&gt;5/10. = 0.5&amp;nbsp;&amp;nbsp; I need to read 50% ...thanks for your assistance in this matter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Aug 2015 10:24:30 GMT</pubDate>
    <dc:creator>BETO</dc:creator>
    <dc:date>2015-08-02T10:24:30Z</dc:date>
    <item>
      <title>how to add % sign to output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215599#M53053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi I have a table that divede one amt into another an it comes out with a decimal I need to add the % sign to the output&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( sales/ inventory)as percentage_sales;&lt;/P&gt;&lt;P&gt;5/10. = 0.5&amp;nbsp;&amp;nbsp; I need to read 50% ...thanks for your assistance in this matter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 10:24:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215599#M53053</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2015-08-02T10:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to add % sign to output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215600#M53054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;( sales/ inventory) as percentage_sales format=percent8.&amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 11:05:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215600#M53054</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-08-02T11:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to add % sign to output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215601#M53055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xia Keshan,&lt;/P&gt;&lt;P&gt;It applied the symbol but when I export it was removed an reverted back to decimal ... How can I keep the symbol when it's exporting out to excel? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 13:24:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215601#M53055</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2015-08-03T13:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to add % sign to output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215602#M53056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post example data in the forma of a datastep, and describe how you are exporting the data.&amp;nbsp; Generally speaking, I would be using the tagsets.excelxp and a proc report, so would just add the Excel format to the column:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings10/031-2010.pdf" title="http://support.sas.com/resources/papers/proceedings10/031-2010.pdf"&gt;http://support.sas.com/resources/papers/proceedings10/031-2010.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it depends on how your data is, and how you are exporting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 13:29:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215602#M53056</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-08-03T13:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to add % sign to output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215603#M53057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'd better post it at ODS and REPORT forum, It looks like ODS problem , You need some special style like : style={tagattr="format:@"}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 13:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215603#M53057</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-08-03T13:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to add % sign to output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215604#M53058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Have a table like this&lt;/P&gt;&lt;P&gt;a.no,&lt;/P&gt;&lt;P&gt;a.market,&lt;/P&gt;&lt;P&gt;(a.sales/a.inventory) as percent format= percent8.,&lt;/P&gt;&lt;P&gt;from want a left join table b. On a.no=b.no&lt;/P&gt;&lt;P&gt;);run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc export data = want1&lt;/P&gt;&lt;P&gt;outfile= sharepoint&lt;/P&gt;&lt;P&gt;dbms=excel replace;&lt;/P&gt;&lt;P&gt;newfile=yes;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 15:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215604#M53058</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2015-08-03T15:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to add % sign to output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215605#M53059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I converted it to character it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 19:01:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215605#M53059</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2015-08-03T19:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to add % sign to output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215606#M53060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that will work.&amp;nbsp; I would recommend however you 1) don't use proc export, it is a guessing procedure, i.e. it guesses what you want to do. 2) use proc report and ods tagsets.excelxp, this has a lot more functionality, and you can set formats as per the link I gave you.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 07:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-add-sign-to-output/m-p/215606#M53060</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-08-04T07:49:44Z</dc:date>
    </item>
  </channel>
</rss>

