<?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: Percentage in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Percentage/m-p/427449#M105417</link>
    <description>&lt;P&gt;If you print these numbers using the PERCENT. format that is what you will get. Please be aware that it is not how you store the numbers in the table that determine how they are printed. That is what is controlled by the format definition. So SAS separates the data and the presention. As this is an important concept I advise you to read up on formats and informats.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;-- Jan.&lt;/P&gt;</description>
    <pubDate>Sat, 13 Jan 2018 16:04:55 GMT</pubDate>
    <dc:creator>jklaverstijn</dc:creator>
    <dc:date>2018-01-13T16:04:55Z</dc:date>
    <item>
      <title>Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Percentage/m-p/427446#M105415</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I have a database (.txt) made up of percentage:&lt;/P&gt;&lt;P&gt;50&amp;nbsp;&lt;/P&gt;&lt;P&gt;40&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;41&lt;/P&gt;&lt;P&gt;But they must not be in this form&lt;/P&gt;&lt;P&gt;Which format or informat would allow to have this in sas table :&lt;/P&gt;&lt;P&gt;0.5%&lt;/P&gt;&lt;P&gt;0,4%&lt;/P&gt;&lt;P&gt;0,2%&lt;/P&gt;&lt;P&gt;0.1%&lt;/P&gt;&lt;P&gt;0,41%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 14:20:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Percentage/m-p/427446#M105415</guid>
      <dc:creator>WilliamB</dc:creator>
      <dc:date>2018-01-13T14:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Percentage/m-p/427449#M105417</link>
      <description>&lt;P&gt;If you print these numbers using the PERCENT. format that is what you will get. Please be aware that it is not how you store the numbers in the table that determine how they are printed. That is what is controlled by the format definition. So SAS separates the data and the presention. As this is an important concept I advise you to read up on formats and informats.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;-- Jan.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 16:04:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Percentage/m-p/427449#M105417</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2018-01-13T16:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Percentage/m-p/427450#M105418</link>
      <description>&lt;P&gt;Depending upon what you actually want, here is an example of the percent format and informat on your example data:&lt;/P&gt;
&lt;PRE&gt;data have;
  informat percent1 percent3.2;
  informat percent2 percent3.3;
  informat percent3 percent3.4;
  format percent1-percent3 percent6.2;
  input @1 percent1 @1 percent2 @1 percent3;
  x1=10*percent1;
  x2=10*percent2;
  x3=10*percent3;
  cards;
50 
40
20
10
41
;
&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 16:16:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Percentage/m-p/427450#M105418</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2018-01-13T16:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Percentage/m-p/427485#M105443</link>
      <description>&lt;P&gt;Are you sure this is what you want?&amp;nbsp; The math is off here.&amp;nbsp; Even if the number 50 refers to 50 percent, you can represent that as either 50% or 0.5.&amp;nbsp; But 0.5% means something different.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 22:47:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Percentage/m-p/427485#M105443</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-01-13T22:47:34Z</dc:date>
    </item>
  </channel>
</rss>

