<?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: To create percent sign behind any numeric value in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385807#M24857</link>
    <description>&lt;P&gt;What happens when you run this? It works for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;abc = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; abc &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;percent14.7&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Aug 2017 05:45:56 GMT</pubDate>
    <dc:creator>TomKari</dc:creator>
    <dc:date>2017-08-05T05:45:56Z</dc:date>
    <item>
      <title>To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385804#M24855</link>
      <description>&lt;P&gt;I have a table. There I have a numeric column name abc. I have numeric value there as 100.0000000. The value showiing as this. I need to show this as 100.0000000%. I am not able to do that using percentagen. method. Anyone can help me to show that format. Any method welcome, like data step or SQL. Please solve the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Sourav Roy&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 04:23:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385804#M24855</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2017-08-05T04:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385806#M24856</link>
      <description>Anyone able to answer this. Please go ahead. I need this asap. I am working on this...</description>
      <pubDate>Sat, 05 Aug 2017 05:28:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385806#M24856</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2017-08-05T05:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385807#M24857</link>
      <description>&lt;P&gt;What happens when you run this? It works for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;abc = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; abc &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;percent14.7&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 05:45:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385807#M24857</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2017-08-05T05:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385809#M24858</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data have;                                                                                                                              
abc = 100;                                                                                                                              
format abc 11.10;                                                                                                                       
output;                                                                                                                                 
proc print data= have;                                                                                                                  
run;                                                                                                                                    

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hi Tomkari&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your effort. But the issue is like in my dataset is like the above one.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas issue.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14343i23A9404DDF92694A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sas issue.jpg" alt="sas issue.jpg" /&gt;&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;my table output is coming as above one.&lt;/P&gt;&lt;P&gt;I need this one will show as 100.0000000% in the column abc.&lt;/P&gt;&lt;P&gt;How can I do that??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 06:03:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385809#M24858</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2017-08-05T06:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385810#M24859</link>
      <description>&lt;P&gt;Well, I have to admit my advice is to divide your value by 100, so that you're using percentages in the standard fashion. Doing what you're doing will confuse the heck out of everybody.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if that's what you need to do, give this a try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;picture&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; SPf low-high=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'999.9999999%'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;mult&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;10000000&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;abc = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;100&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; abc &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;SPf.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 06:33:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385810#M24859</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2017-08-05T06:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385814#M24860</link>
      <description>&lt;P&gt;The proc format portion is really helping. But i was given a task. There I already have a table where the column value is 100.0000000. Here please apply the proc format on 100.0000000. I am not able to do on this decimal figure.&lt;/P&gt;&lt;P&gt;I hope I am able to make u understand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am refering the original table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please to convert this value as 100.0000000%&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="table.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14344i0E978EF402B2B9A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="table.jpg" alt="table.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 07:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385814#M24860</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2017-08-05T07:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385830#M24862</link>
      <description>&lt;P&gt;When I run this code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;picture&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; SPf low-high=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'999.9999999%'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;mult&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;10000000&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;abc = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;100&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; abc &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;SPf.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the result I see:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screengrab.png" style="width: 246px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14345i30240DDAE563783E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screengrab.png" alt="Screengrab.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 13:08:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385830#M24862</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2017-08-05T13:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385834#M24863</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then what would be my code can u suggest me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as i can not run&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;abc = 100; format abc SPf.;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I already have the dataset where the column showing as 100.000000. I have the task to show this as 100.0000000%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what I need to do in coding?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can use the part&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;picture SPf low-high='999.9999999%' (mult=10000000);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say I have column a in the dataset X,&lt;/P&gt;&lt;P&gt;where the column is as 100.0000000.&lt;/P&gt;&lt;P&gt;I need to convert it as 100.0000000%. So what would be code.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 13:45:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385834#M24863</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2017-08-05T13:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385837#M24864</link>
      <description>&lt;P&gt;So, lets assume you have a SAS dataset named "Have", that has a field "ABC" with the value of 100. This code creates it for my purposes, but you don't need it. When I run the code, my value of "100" just looks like a normal number.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;abc = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;100&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, you create the format using PROC FORMAT:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;picture&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; SPf low-high=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'999.9999999%'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;mult&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;10000000&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you use PROC DATASETS to attach the format to the variable:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;datasets&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;lib&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=work &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nolist&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;modify&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; abc &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;SPf.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And from then on, whenever you open the dataset in the viewer, you should see it with the format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 13:45:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385837#M24864</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2017-08-05T13:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385838#M24865</link>
      <description>&lt;P&gt;as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15142"&gt;@TomKari&lt;/a&gt; already mentioned you could try the same format as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format; 
picture SPf 
low-high='999.9999999%' (mult=10000000); 
run; 

data have;
x=100.0000000;
format x SPf.;
put x=;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 05 Aug 2017 13:48:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385838#M24865</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2017-08-05T13:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385842#M24866</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15142"&gt;@TomKari&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You made my day today. For a long time I was stucking with this silly code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the output coming as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be looking for more help from you.&lt;/P&gt;&lt;P&gt;It's been a great work with you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 14:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385842#M24866</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2017-08-05T14:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: To create percent sign behind any numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385843#M24867</link>
      <description>&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your effort. The code is now running smooth. Output is coming as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 14:36:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/To-create-percent-sign-behind-any-numeric-value/m-p/385843#M24867</guid>
      <dc:creator>Sourav_sas</dc:creator>
      <dc:date>2017-08-05T14:36:46Z</dc:date>
    </item>
  </channel>
</rss>

