<?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 Rounding in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Rounding/m-p/118133#M24380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a rounding problem. I got some results from my FMB-Regression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the estimates are very small. Is there a trick how I can get a number from: 0.00000000336 to 3.36-E9 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code which I used to put the number in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;data nw1_fmb; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; nw_fmb;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;tvalue2=put(tvalue,7.2); if probt&amp;lt;0.1 then p='* ';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;if probt&amp;lt;0.05 then p='** '; if probt&amp;lt;0.01 then p='***';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;T_VALUE=compress('('||tvalue2||')'); PARAM_EST=compress(put(estimate, 15.12)||p);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;sort&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=nw1_fmb; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; name;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;transpose&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=nw1_fmb &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=nw1b_fmb;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; name; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; model; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; PARAM_EST T_VALUE;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;data mylib.excret_year_nfl; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; nw1b_fmb; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; _name_=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;'T_VALUE'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;name=. ;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Thank you very much!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Aug 2013 18:50:27 GMT</pubDate>
    <dc:creator>mexes</dc:creator>
    <dc:date>2013-08-21T18:50:27Z</dc:date>
    <item>
      <title>Rounding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rounding/m-p/118133#M24380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a rounding problem. I got some results from my FMB-Regression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the estimates are very small. Is there a trick how I can get a number from: 0.00000000336 to 3.36-E9 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code which I used to put the number in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;data nw1_fmb; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; nw_fmb;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;tvalue2=put(tvalue,7.2); if probt&amp;lt;0.1 then p='* ';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;if probt&amp;lt;0.05 then p='** '; if probt&amp;lt;0.01 then p='***';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;T_VALUE=compress('('||tvalue2||')'); PARAM_EST=compress(put(estimate, 15.12)||p);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;sort&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=nw1_fmb; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; name;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;transpose&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=nw1_fmb &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=nw1b_fmb;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; name; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; model; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; PARAM_EST T_VALUE;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;data mylib.excret_year_nfl; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; nw1b_fmb; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; _name_=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;'T_VALUE'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;name=. ;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Thank you very much!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 18:50:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rounding/m-p/118133#M24380</guid>
      <dc:creator>mexes</dc:creator>
      <dc:date>2013-08-21T18:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rounding/m-p/118134#M24381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scientific notation format, try the format E10. instead. See sas documentation for the format for specific examples and instructions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 19:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rounding/m-p/118134#M24381</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-08-21T19:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rounding/m-p/118135#M24382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reeza&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer was perfect!&lt;/P&gt;&lt;P&gt;Thank you very much. Problem solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 19:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rounding/m-p/118135#M24382</guid>
      <dc:creator>mexes</dc:creator>
      <dc:date>2013-08-21T19:16:00Z</dc:date>
    </item>
  </channel>
</rss>

