<?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: limit all numberic variables with 2 decimals in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266396#M52498</link>
    <description>&lt;P&gt;What do you mean they "they have different lengths"? &amp;nbsp;Are you talking about the W in W.D as in 10 and 8 in 10.2, 8.2 etc.?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2016 14:37:20 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2016-04-26T14:37:20Z</dc:date>
    <item>
      <title>limit all numberic variables with 2 decimals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266380#M52492</link>
      <description>&lt;P&gt;Is there a way to change all the numeric variables in a data set to 2 decimals, without defining one by one? They have difference lengths, but I hope they all have max 2 decimals&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 14:07:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266380#M52492</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2016-04-26T14:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: limit all numberic variables with 2 decimals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266391#M52496</link>
      <description>&lt;P&gt;Format _numeric_ 8.2;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The keyword is _numeric_ which applies to all numeric variables. But be careful, dates and ID variables can be numeric as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 14:27:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266391#M52496</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-26T14:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: limit all numberic variables with 2 decimals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266396#M52498</link>
      <description>&lt;P&gt;What do you mean they "they have different lengths"? &amp;nbsp;Are you talking about the W in W.D as in 10 and 8 in 10.2, 8.2 etc.?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 14:37:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266396#M52498</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2016-04-26T14:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: limit all numberic variables with 2 decimals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266401#M52500</link>
      <description>&lt;P&gt;By Change, do you mean just format the output to look like it has 2 decimal places, or change the underlying value to have only two decimal places, then you would need the round() function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 14:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266401#M52500</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-04-26T14:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: limit all numberic variables with 2 decimals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266408#M52504</link>
      <description>actually I meant formatting, just for display</description>
      <pubDate>Tue, 26 Apr 2016 14:56:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266408#M52504</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2016-04-26T14:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: limit all numberic variables with 2 decimals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266409#M52505</link>
      <description>yes, the W in W.2</description>
      <pubDate>Tue, 26 Apr 2016 14:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266409#M52505</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2016-04-26T14:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: limit all numberic variables with 2 decimals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266438#M52522</link>
      <description>&lt;P&gt;Sample data with working program to read and format as it is now would be helpful. &amp;nbsp;Plus an example data set of the result you desire.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza﻿&lt;/a&gt;&amp;nbsp;suggested the easy solution just format all the variable with W.2 where W is big enough for all values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're still a bit light on the details.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:17:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266438#M52522</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2016-04-26T16:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: limit all numberic variables with 2 decimals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266445#M52526</link>
      <description>&lt;P&gt;Thank you. I agree with you. I just need to choose a large enough W.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:30:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limit-all-numberic-variables-with-2-decimals/m-p/266445#M52526</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2016-04-26T16:30:16Z</dc:date>
    </item>
  </channel>
</rss>

