<?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: Problems transforming character data to percentage in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problems-transforming-character-data-to-percentage/m-p/183966#M14136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The number after the period in an informat isn't the number of decimal places. According to the documentation: the number &lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; font-size: 13.63636302948px; background-color: #ffffff;"&gt;specifies an optional decimal scaling factor in the numeric informats. SAS divides the input data by 10 to the power of &lt;EM&gt;d&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; font-size: 13.63636302948px; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Oct 2014 17:10:28 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2014-10-14T17:10:28Z</dc:date>
    <item>
      <title>Problems transforming character data to percentage</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problems-transforming-character-data-to-percentage/m-p/183963#M14133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have percentage data but in character format. I'm using this code to transform it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data monic.fondorfdol;&lt;/P&gt;&lt;P&gt;set work.fondorfdol;&lt;/P&gt;&lt;P&gt;tir1=input(tir,percent5.5);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't get the exact number, for example, these are original values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.8077%&lt;/P&gt;&lt;P&gt;1.7514%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the transformation, I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.807&lt;/P&gt;&lt;P&gt;1.751&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not necessary the percetange symbol, but I want to have all decimal numbers, is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 16:13:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problems-transforming-character-data-to-percentage/m-p/183963#M14133</guid>
      <dc:creator>fri0</dc:creator>
      <dc:date>2014-10-14T16:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems transforming character data to percentage</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problems-transforming-character-data-to-percentage/m-p/183964#M14134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data monic.fondorfdol;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set work.fondorfdol;&lt;/P&gt;&lt;P&gt;&amp;nbsp; tir1=input(tir,percent.);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 16:23:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problems-transforming-character-data-to-percentage/m-p/183964#M14134</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-10-14T16:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problems transforming character data to percentage</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problems-transforming-character-data-to-percentage/m-p/183965#M14135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, I always thought that I have to specify the width of the value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 16:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problems-transforming-character-data-to-percentage/m-p/183965#M14135</guid>
      <dc:creator>fri0</dc:creator>
      <dc:date>2014-10-14T16:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problems transforming character data to percentage</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problems-transforming-character-data-to-percentage/m-p/183966#M14136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The number after the period in an informat isn't the number of decimal places. According to the documentation: the number &lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; font-size: 13.63636302948px; background-color: #ffffff;"&gt;specifies an optional decimal scaling factor in the numeric informats. SAS divides the input data by 10 to the power of &lt;EM&gt;d&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; font-size: 13.63636302948px; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 17:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problems-transforming-character-data-to-percentage/m-p/183966#M14136</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-10-14T17:10:28Z</dc:date>
    </item>
  </channel>
</rss>

