<?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 Format issue in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-issue/m-p/491621#M31692</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me converting from 125,804 to 125804.&lt;/P&gt;&lt;P&gt;2.53.476&lt;BR /&gt;253476&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 31 Aug 2018 13:15:57 GMT</pubDate>
    <dc:creator>radha1</dc:creator>
    <dc:date>2018-08-31T13:15:57Z</dc:date>
    <item>
      <title>Format issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-issue/m-p/491621#M31692</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me converting from 125,804 to 125804.&lt;/P&gt;&lt;P&gt;2.53.476&lt;BR /&gt;253476&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 13:15:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-issue/m-p/491621#M31692</guid>
      <dc:creator>radha1</dc:creator>
      <dc:date>2018-08-31T13:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Format issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-issue/m-p/491624#M31693</link>
      <description>&lt;P&gt;How is that a FORMAT issue?&lt;/P&gt;
&lt;P&gt;Where are the existing values? Where do you want the converted values?&lt;/P&gt;
&lt;P&gt;Do they have commas or periods in them? Or both?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have character variables why not just use COMPRESS()?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have ;
  input str $20. ;
cards;
125,804 
2.53.476
253476
;

data want ;
 set have ;
 new = compress(str,',.');
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;Obs      str        new

 1     125,804     125804
 2     2.53.476    253476
 3     253476      253476&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 Aug 2018 13:23:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-issue/m-p/491624#M31693</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-08-31T13:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Format issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-issue/m-p/491676#M31695</link>
      <description>&lt;P&gt;At least provide the current format the variable has and the variable name.&lt;/P&gt;
&lt;P&gt;You can get that information from Proc Contents or table properties.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example values you show indicate that the variable must be character as none of the SAS supplied formats would treat both comma and period as the thousands separator your example implies. So do you want an actual numeric value or a character value without the comma and period?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 15:42:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-issue/m-p/491676#M31695</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-08-31T15:42:29Z</dc:date>
    </item>
  </channel>
</rss>

