<?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 Formatting Scientific Notation in PROC FREQ in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Formatting-Scientific-Notation-in-PROC-FREQ/m-p/321074#M70804</link>
    <description>I see that when I apply proc freq on a variable in a large dataset, the result gets truncated to scientific notation. Eg. for the below on a dataset of 35 Million records &lt;BR /&gt;&lt;BR /&gt;Proc freq data=sales;&lt;BR /&gt;Tables region;&lt;BR /&gt;Run; &lt;BR /&gt;&lt;BR /&gt;Gives me the frequencies like follows &lt;BR /&gt;&lt;BR /&gt;US   2.15E8&lt;BR /&gt;UK.  1.59E7&lt;BR /&gt;EMEA 100000&lt;BR /&gt;&lt;BR /&gt;I want the numbers to appear completely with a comma separator.&lt;BR /&gt;&lt;BR /&gt;I tried using formats (best12. and comma12.) in the tables statment but to no avail.&lt;BR /&gt;&lt;BR /&gt;Help appreciated!&lt;BR /&gt;Sasmaverick</description>
    <pubDate>Sun, 25 Dec 2016 06:13:16 GMT</pubDate>
    <dc:creator>sasmaverick</dc:creator>
    <dc:date>2016-12-25T06:13:16Z</dc:date>
    <item>
      <title>Formatting Scientific Notation in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-Scientific-Notation-in-PROC-FREQ/m-p/321074#M70804</link>
      <description>I see that when I apply proc freq on a variable in a large dataset, the result gets truncated to scientific notation. Eg. for the below on a dataset of 35 Million records &lt;BR /&gt;&lt;BR /&gt;Proc freq data=sales;&lt;BR /&gt;Tables region;&lt;BR /&gt;Run; &lt;BR /&gt;&lt;BR /&gt;Gives me the frequencies like follows &lt;BR /&gt;&lt;BR /&gt;US   2.15E8&lt;BR /&gt;UK.  1.59E7&lt;BR /&gt;EMEA 100000&lt;BR /&gt;&lt;BR /&gt;I want the numbers to appear completely with a comma separator.&lt;BR /&gt;&lt;BR /&gt;I tried using formats (best12. and comma12.) in the tables statment but to no avail.&lt;BR /&gt;&lt;BR /&gt;Help appreciated!&lt;BR /&gt;Sasmaverick</description>
      <pubDate>Sun, 25 Dec 2016 06:13:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-Scientific-Notation-in-PROC-FREQ/m-p/321074#M70804</guid>
      <dc:creator>sasmaverick</dc:creator>
      <dc:date>2016-12-25T06:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Scientific Notation in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-Scientific-Notation-in-PROC-FREQ/m-p/321076#M70805</link>
      <description>&lt;P&gt;Switch to proc tabulate and you can format the numbers easily. Otherwise google 'PROC FREQ TEMPLATE' for examples on how to modify the template for PROC FREQ to have it show the values as you want.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Dec 2016 06:29:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-Scientific-Notation-in-PROC-FREQ/m-p/321076#M70805</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-12-25T06:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Scientific Notation in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-Scientific-Notation-in-PROC-FREQ/m-p/321079#M70807</link>
      <description>&lt;PRE&gt;
An alternative way is using SQL.

proc sql;
create table want as
 select region,count(*) as count format=f12.
  from sales
   group by region;
quit;

&lt;/PRE&gt;</description>
      <pubDate>Sun, 25 Dec 2016 06:47:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-Scientific-Notation-in-PROC-FREQ/m-p/321079#M70807</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-12-25T06:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Scientific Notation in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-Scientific-Notation-in-PROC-FREQ/m-p/321148#M70838</link>
      <description>Thank you, I was able to do it by setting default formats for frequencies by using PROC Template.</description>
      <pubDate>Mon, 26 Dec 2016 09:06:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-Scientific-Notation-in-PROC-FREQ/m-p/321148#M70838</guid>
      <dc:creator>sasmaverick</dc:creator>
      <dc:date>2016-12-26T09:06:35Z</dc:date>
    </item>
  </channel>
</rss>

