<?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: remove period in numeric format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/remove-period-in-numeric-format/m-p/544464#M150581</link>
    <description>&lt;P&gt;Remember that the . is SASs representation of a missing numeric value. However, you can do something like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
options missing='';

data test;
var=1;output; /* Non missing value */
var=.;output; /* Missing value     */
run;

proc print data=test;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 20 Mar 2019 07:31:13 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2019-03-20T07:31:13Z</dc:date>
    <item>
      <title>remove period in numeric format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-period-in-numeric-format/m-p/544460#M150577</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I coding, I have problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I load excel file in sas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I load excel file, the data set present period (.) in blank cell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want to remove this period.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I remove period in numeric format??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, Help me. Everyone~~&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 07:24:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-period-in-numeric-format/m-p/544460#M150577</guid>
      <dc:creator>J_hoon</dc:creator>
      <dc:date>2019-03-20T07:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: remove period in numeric format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-period-in-numeric-format/m-p/544463#M150580</link>
      <description>&lt;P&gt;The period is essential when working with SAS, as it is the displayed character for missing numerical values. All SAS programmers expect missing values to be displayed as a dot, if no special option is set.&lt;/P&gt;
&lt;P&gt;That option is&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options missing = ' ';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See this example code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input x1;
cards;
1
2
.
;
run;

proc print data=have;
run;

options missing = ' ';

proc print data=have;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;PRE&gt;Beob.    x1

  1       1
  2       2
  3        
            

Beob.    x1

  1       1
  2       2
  3        
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 07:31:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-period-in-numeric-format/m-p/544463#M150580</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-20T07:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: remove period in numeric format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-period-in-numeric-format/m-p/544464#M150581</link>
      <description>&lt;P&gt;Remember that the . is SASs representation of a missing numeric value. However, you can do something like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
options missing='';

data test;
var=1;output; /* Non missing value */
var=.;output; /* Missing value     */
run;

proc print data=test;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Mar 2019 07:31:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-period-in-numeric-format/m-p/544464#M150581</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-03-20T07:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: remove period in numeric format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remove-period-in-numeric-format/m-p/544607#M150620</link>
      <description>&lt;P&gt;Or use a custom format to displayed desired text instead:&lt;/P&gt;
&lt;PRE&gt;proc format library=work;
value m
. = 'Missing'
;
run;

data test;
var=1;output; /* Non missing value */
var=.;output; /* Missing value     */
run;

proc print data=test;
   format var m.;
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Mar 2019 15:30:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remove-period-in-numeric-format/m-p/544607#M150620</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-20T15:30:00Z</dc:date>
    </item>
  </channel>
</rss>

