<?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 How to create numeric values with ,00? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-numeric-values-with-00/m-p/718524#M222387</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've an xml file (it's German currency values) where column Amount ist a string column with values like this.&lt;/P&gt;&lt;P&gt;5,000; 4,000; 7,500&lt;/P&gt;&lt;P&gt;Now I have changed this from string to numeric with this statement.&lt;/P&gt;&lt;P&gt;New_Amount = round(input(Amount, commax32.),0.01);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My result is for the example values above is.&lt;/P&gt;&lt;P&gt;5; 4; 7,5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I need these values.&lt;/P&gt;&lt;P&gt;5,00; 4,00; 7,50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I have to change?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and regards&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2021 10:32:14 GMT</pubDate>
    <dc:creator>Hansmuffs</dc:creator>
    <dc:date>2021-02-11T10:32:14Z</dc:date>
    <item>
      <title>How to create numeric values with ,00?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-numeric-values-with-00/m-p/718524#M222387</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've an xml file (it's German currency values) where column Amount ist a string column with values like this.&lt;/P&gt;&lt;P&gt;5,000; 4,000; 7,500&lt;/P&gt;&lt;P&gt;Now I have changed this from string to numeric with this statement.&lt;/P&gt;&lt;P&gt;New_Amount = round(input(Amount, commax32.),0.01);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My result is for the example values above is.&lt;/P&gt;&lt;P&gt;5; 4; 7,5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I need these values.&lt;/P&gt;&lt;P&gt;5,00; 4,00; 7,50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I have to change?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and regards&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 10:32:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-numeric-values-with-00/m-p/718524#M222387</guid>
      <dc:creator>Hansmuffs</dc:creator>
      <dc:date>2021-02-11T10:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create numeric values with ,00?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-numeric-values-with-00/m-p/718525#M222388</link>
      <description>&lt;P&gt;Use the &lt;A href="https://www.google.com/search?q=sas+commax+format&amp;amp;rlz=1C1GCEA_enDK893DK893&amp;amp;oq=sas+commax+f&amp;amp;aqs=chrome.1.69i57j0l7.3273j0j4&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8" target="_self"&gt;Commax Format&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   a = 7.5;
   format a commax8.2;
   put a=;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Feb 2021 10:42:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-numeric-values-with-00/m-p/718525#M222388</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-02-11T10:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create numeric values with ,00?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-numeric-values-with-00/m-p/718526#M222389</link>
      <description>&lt;P&gt;The value a in my case is a string. This solution is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data eee;
   a = '7,50000';
   format a commax8.2;
   put a=;
run;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Feb 2021 10:50:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-numeric-values-with-00/m-p/718526#M222389</guid>
      <dc:creator>Hansmuffs</dc:creator>
      <dc:date>2021-02-11T10:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to create numeric values with ,00?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-numeric-values-with-00/m-p/718527#M222390</link>
      <description>&lt;P&gt;Ok then do this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data eee;
   a = '7,50000';
   b = input(a, commax10.8);
   format b commax10.2;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Feb 2021 10:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-numeric-values-with-00/m-p/718527#M222390</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-02-11T10:54:22Z</dc:date>
    </item>
  </channel>
</rss>

