<?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 Dealing with big numeric decimal numbers in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Dealing-with-big-numeric-decimal-numbers/m-p/560292#M10446</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a value like "-2.22045E-16", how can I change it to "-2.2E-16 "?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adithya&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2019 22:09:23 GMT</pubDate>
    <dc:creator>chinna0369</dc:creator>
    <dc:date>2019-05-20T22:09:23Z</dc:date>
    <item>
      <title>Dealing with big numeric decimal numbers</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Dealing-with-big-numeric-decimal-numbers/m-p/560292#M10446</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a value like "-2.22045E-16", how can I change it to "-2.2E-16 "?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adithya&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 22:09:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Dealing-with-big-numeric-decimal-numbers/m-p/560292#M10446</guid>
      <dc:creator>chinna0369</dc:creator>
      <dc:date>2019-05-20T22:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with big numeric decimal numbers</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Dealing-with-big-numeric-decimal-numbers/m-p/560304#M10451</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/117414"&gt;@chinna0369&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see &lt;A href="https://communities.sas.com/t5/New-SAS-User/having-problem-in-put-function/m-p/560302#M10450" target="_blank" rel="noopener"&gt;my reply in the other thread&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 22:29:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Dealing-with-big-numeric-decimal-numbers/m-p/560304#M10451</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-05-20T22:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with big numeric decimal numbers</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Dealing-with-big-numeric-decimal-numbers/m-p/560311#M10452</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/117414"&gt;@chinna0369&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a value like "-2.22045E-16", how can I change it to "-2.2E-16 "?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Adithya&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Don't change "value" change the format:&lt;/P&gt;
&lt;PRE&gt;data junk;
   x=-2.22045E-16;
   put 'BEST9 format ' x=best9.;
run;&lt;/PRE&gt;
&lt;P&gt;If you have different ranges of values that you want displayed differently you can use a custom format to display different ranges of values with different numeric formats:&lt;/P&gt;
&lt;PRE&gt;data junk;
   input x;
datalines;
.0003
15
123456.78
12E27
;
run;

proc format library=work;
value myrange
0 - &amp;lt;1 = [f8.6]
1 - &amp;lt;500000 = [comma13.3]
500000 - high = [best8.]
;
run;

proc print data=junk;
   format x myrange.;
run;&lt;/PRE&gt;
&lt;P&gt;the [formatname] in proc format code says to use an existing format to display values in a given range group.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 23:15:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Dealing-with-big-numeric-decimal-numbers/m-p/560311#M10452</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-05-20T23:15:03Z</dc:date>
    </item>
  </channel>
</rss>

