<?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 make it to with two demicals? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-to-with-two-demicals/m-p/423303#M104078</link>
    <description>&lt;PRE&gt;data have;
input a$ 10.;
cards;
1.2346565
1.244
1.562546
run;

&lt;/PRE&gt;</description>
    <pubDate>Fri, 22 Dec 2017 11:44:13 GMT</pubDate>
    <dc:creator>rajeshalwayswel</dc:creator>
    <dc:date>2017-12-22T11:44:13Z</dc:date>
    <item>
      <title>How to make it to with two demicals?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-to-with-two-demicals/m-p/423303#M104078</link>
      <description>&lt;PRE&gt;data have;
input a$ 10.;
cards;
1.2346565
1.244
1.562546
run;

&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Dec 2017 11:44:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-to-with-two-demicals/m-p/423303#M104078</guid>
      <dc:creator>rajeshalwayswel</dc:creator>
      <dc:date>2017-12-22T11:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to make it to with two demicals?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-to-with-two-demicals/m-p/423305#M104079</link>
      <description>&lt;P&gt;Pro tip - start by reading how to post a question.&amp;nbsp; Explain what you want, using the body of the post to explain this.&amp;nbsp; A post topic saying make it work is not in the least bit polite or helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Taking a rough guess, I would say you want a numeric which is rounded to 2 decimal places from that text, if so:&lt;/P&gt;
&lt;PRE&gt;data want;
  set have;
  want=round(input(a,best.),0.01);
run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Dec 2017 11:51:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-to-with-two-demicals/m-p/423305#M104079</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-12-22T11:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to make it to with two demicals?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-to-with-two-demicals/m-p/423306#M104080</link>
      <description>&lt;P&gt;Do you want to keep the varaible type character? If so&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input a$ 10.;
cards;
1.2346565
1.244
1.562546
run;

data want_round;
	set have;
	round_a=strip(put(round(a, .01), best6.2));
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Dec 2017 11:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-to-with-two-demicals/m-p/423306#M104080</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-12-22T11:55:27Z</dc:date>
    </item>
  </channel>
</rss>

