<?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: limiting number of decimals in a common statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523852#M142384</link>
    <description>Thank you.&lt;BR /&gt;&lt;BR /&gt;I hate to bother you, but is there any way that you could write it out in&lt;BR /&gt;code? I have problems reading the SAS documentation. I wish they had&lt;BR /&gt;examples b/c that's how most persons learn best.&lt;BR /&gt;&lt;BR /&gt;If you can. If you can't, I will give a try, but I am hopeful.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 30 Dec 2018 00:42:02 GMT</pubDate>
    <dc:creator>mgrzyb</dc:creator>
    <dc:date>2018-12-30T00:42:02Z</dc:date>
    <item>
      <title>limiting number of decimals in a common statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523847#M142382</link>
      <description>&lt;P&gt;HI.&amp;nbsp; HAPPY NY~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does one limit the number of digits to the right of the decimal to round to the tenth?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc means n mean stderr clm min max range data= avisits1;&lt;BR /&gt;vars&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var diff_bg &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; q_pre_gluc &amp;nbsp; &amp;nbsp; &amp;nbsp; q_post_gluc;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only want .Xth rounded. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Dec 2018 23:47:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523847#M142382</guid>
      <dc:creator>mgrzyb</dc:creator>
      <dc:date>2018-12-29T23:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: limiting number of decimals in a common statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523848#M142383</link>
      <description>&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n1qnc9bddfvhzqn105kqitnf29cp.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1m8zxfes82ykcn1ij2cy50zo7c8" target="_blank"&gt;https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n1qnc9bddfvhzqn105kqitnf29cp.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1m8zxfes82ykcn1ij2cy50zo7c8&lt;/A&gt; MAXDEC=number specifies the maximum number of decimal places to display the statistics in the printed or displayed output. MAXDEC= has no effect on statistics that are saved in an output data set. Default BEST. width for columnar format, typically about 7. Range 0-8 See Computing Descriptive Statistics with Class Variables Using a CLASSDATA= Data Set with Class Variables&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
PROC MEANS DATA=sashelp.class MEAN  MAXDEC=1;
 VAR height;
 run; &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 30 Dec 2018 00:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523848#M142383</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-12-30T00:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: limiting number of decimals in a common statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523852#M142384</link>
      <description>Thank you.&lt;BR /&gt;&lt;BR /&gt;I hate to bother you, but is there any way that you could write it out in&lt;BR /&gt;code? I have problems reading the SAS documentation. I wish they had&lt;BR /&gt;examples b/c that's how most persons learn best.&lt;BR /&gt;&lt;BR /&gt;If you can. If you can't, I will give a try, but I am hopeful.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Dec 2018 00:42:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523852#M142384</guid>
      <dc:creator>mgrzyb</dc:creator>
      <dc:date>2018-12-30T00:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: limiting number of decimals in a common statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523854#M142385</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/156253"&gt;@mgrzyb&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;I hate to bother you, but is there any way that you could write it out in&lt;BR /&gt;code?&lt;BR /&gt;Not sure i understand what you mean&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
PROC MEANS DATA=sashelp.class MEAN  MAXDEC=1;
 VAR height weight;
 run; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Dec 2018 00:55:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523854#M142385</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-12-30T00:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: limiting number of decimals in a common statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523892#M142405</link>
      <description>THANK YOU! SOLVED!!!!!!</description>
      <pubDate>Sun, 30 Dec 2018 22:59:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523892#M142405</guid>
      <dc:creator>mgrzyb</dc:creator>
      <dc:date>2018-12-30T22:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: limiting number of decimals in a common statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523896#M142408</link>
      <description>Please mark the question as solved, with the appropriate solution marked.</description>
      <pubDate>Sun, 30 Dec 2018 23:58:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/limiting-number-of-decimals-in-a-common-statement/m-p/523896#M142408</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-12-30T23:58:47Z</dc:date>
    </item>
  </channel>
</rss>

