<?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: PUT(var, FORMAT) not working? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PUT-var-FORMAT-not-working/m-p/298617#M20365</link>
    <description>&lt;P&gt;Look if the COMMAX format does what you want.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2016 12:11:18 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-09-15T12:11:18Z</dc:date>
    <item>
      <title>PUT(var, FORMAT) not working?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PUT-var-FORMAT-not-working/m-p/298612#M20363</link>
      <description>&lt;P&gt;I m using this expression in the query builder task of EG 9.1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PUT(t1.OpRevenue, COMMA8.2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OpRevenue is "10.5" and I need "10,5".&lt;/P&gt;&lt;P&gt;According to the documentation, this should be the way how it is done, but it is not working.&lt;/P&gt;&lt;P&gt;I still get "10.5".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 12:03:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PUT-var-FORMAT-not-working/m-p/298612#M20363</guid>
      <dc:creator>dirks</dc:creator>
      <dc:date>2016-09-15T12:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: PUT(var, FORMAT) not working?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PUT-var-FORMAT-not-working/m-p/298615#M20364</link>
      <description>&lt;P&gt;Have a look at the Documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000200667.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000200667.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It &amp;nbsp;states that the comma format applies a comma after each block of three in the whole part of the number. &amp;nbsp;It doesn't replace dot with comma. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could of course do:&lt;/P&gt;
&lt;P&gt;tranwrd(put(t1.oprevenue,8.2),".",",")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know of a format offhand which treats numbers using the comma notation.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 12:08:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PUT-var-FORMAT-not-working/m-p/298615#M20364</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-09-15T12:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: PUT(var, FORMAT) not working?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PUT-var-FORMAT-not-working/m-p/298617#M20365</link>
      <description>&lt;P&gt;Look if the COMMAX format does what you want.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 12:11:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PUT-var-FORMAT-not-working/m-p/298617#M20365</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-09-15T12:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: PUT(var, FORMAT) not working?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PUT-var-FORMAT-not-working/m-p/298618#M20366</link>
      <description>&lt;P&gt;I think I was missinterpreting something. I guess COMMAX8.2 will do it! Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 12:12:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PUT-var-FORMAT-not-working/m-p/298618#M20366</guid>
      <dc:creator>dirks</dc:creator>
      <dc:date>2016-09-15T12:12:12Z</dc:date>
    </item>
  </channel>
</rss>

