<?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: Surveyfreq display 2 decimal tables in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Surveyfreq-display-2-decimal-tables/m-p/540850#M74111</link>
    <description>&lt;P&gt;Send the output to a data set an use one of the proc reports such as Print, Report or Tabulate to display the values where you can set the display formats would likely be the best approach. Add statements such as&lt;/P&gt;
&lt;P&gt;ODS OUTPUT tablename= wanteddatasetname;&lt;/P&gt;
&lt;P&gt;Table name would likely be CROSSTABS if doing two-way frequencies, ONEWAY if single , CHISQ or CHISQ1 if doing chi-square tests.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can run your code preceded with ODS Trace on; prior to the procedure to get a listing of tables generated. Don't forget to use ODS Trace off; afterwards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise you have to work with Proc Template to modify the displayed tables layouts and that is usually way more work than it is worth.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2019 17:52:51 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-03-06T17:52:51Z</dc:date>
    <item>
      <title>Surveyfreq display 2 decimal tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Surveyfreq-display-2-decimal-tables/m-p/540835#M74110</link>
      <description>Hi,&lt;BR /&gt;I am not sure how to round the descriptives to 2 decimal places. Any help would be appreciated.&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 06 Mar 2019 17:16:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Surveyfreq-display-2-decimal-tables/m-p/540835#M74110</guid>
      <dc:creator>Orchidn</dc:creator>
      <dc:date>2019-03-06T17:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Surveyfreq display 2 decimal tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Surveyfreq-display-2-decimal-tables/m-p/540850#M74111</link>
      <description>&lt;P&gt;Send the output to a data set an use one of the proc reports such as Print, Report or Tabulate to display the values where you can set the display formats would likely be the best approach. Add statements such as&lt;/P&gt;
&lt;P&gt;ODS OUTPUT tablename= wanteddatasetname;&lt;/P&gt;
&lt;P&gt;Table name would likely be CROSSTABS if doing two-way frequencies, ONEWAY if single , CHISQ or CHISQ1 if doing chi-square tests.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can run your code preceded with ODS Trace on; prior to the procedure to get a listing of tables generated. Don't forget to use ODS Trace off; afterwards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise you have to work with Proc Template to modify the displayed tables layouts and that is usually way more work than it is worth.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 17:52:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Surveyfreq-display-2-decimal-tables/m-p/540850#M74111</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-06T17:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Surveyfreq display 2 decimal tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Surveyfreq-display-2-decimal-tables/m-p/540853#M74112</link>
      <description>Thank you so much! It worked, but there are still variables which were mot converted to 2 digits (the ones that are by default in the crosstab).</description>
      <pubDate>Wed, 06 Mar 2019 18:07:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Surveyfreq-display-2-decimal-tables/m-p/540853#M74112</guid>
      <dc:creator>Orchidn</dc:creator>
      <dc:date>2019-03-06T18:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Surveyfreq display 2 decimal tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Surveyfreq-display-2-decimal-tables/m-p/540871#M74114</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265464"&gt;@Orchidn&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you so much! It worked, but there are still variables which were mot converted to 2 digits (the ones that are by default in the crosstab).&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The table won't change the number of decimals though the number displayed may vary from the table output. You specify that in Proc Print, Report or tabulate. Or you could use Proc DATASETS or a data step (inefficient) to assign formats to specific variables.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 18:44:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Surveyfreq-display-2-decimal-tables/m-p/540871#M74114</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-06T18:44:37Z</dc:date>
    </item>
  </channel>
</rss>

