<?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: formatting in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/formatting/m-p/497616#M131944</link>
    <description>&lt;P&gt;Yes generally.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No. Though if your code is sloppy you might get some confusion between statements using the variable and the variable type.&lt;/P&gt;
&lt;P&gt;Some examples:&lt;/P&gt;
&lt;PRE&gt;data junk;
   x='k';
   format x f3.;
run;

data junk2;
   format x f3.;
   x='k';
run;&lt;/PRE&gt;
&lt;P&gt;This is related to the &lt;STRONG&gt;order&lt;/STRONG&gt; a variable is encountered in a data step. The variable type is set the first time it is used or referenced.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Sep 2018 23:18:21 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-09-20T23:18:21Z</dc:date>
    <item>
      <title>formatting</title>
      <link>https://communities.sas.com/t5/SAS-Programming/formatting/m-p/497593#M131927</link>
      <description>&lt;P&gt;is 3.0 same as 3. when formatting decimal numbers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does it matter where i put the format statement in the data step?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 22:29:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/formatting/m-p/497593#M131927</guid>
      <dc:creator>clqa</dc:creator>
      <dc:date>2018-09-20T22:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: formatting</title>
      <link>https://communities.sas.com/t5/SAS-Programming/formatting/m-p/497616#M131944</link>
      <description>&lt;P&gt;Yes generally.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No. Though if your code is sloppy you might get some confusion between statements using the variable and the variable type.&lt;/P&gt;
&lt;P&gt;Some examples:&lt;/P&gt;
&lt;PRE&gt;data junk;
   x='k';
   format x f3.;
run;

data junk2;
   format x f3.;
   x='k';
run;&lt;/PRE&gt;
&lt;P&gt;This is related to the &lt;STRONG&gt;order&lt;/STRONG&gt; a variable is encountered in a data step. The variable type is set the first time it is used or referenced.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 23:18:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/formatting/m-p/497616#M131944</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-20T23:18:21Z</dc:date>
    </item>
  </channel>
</rss>

