<?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: Decimal places for macro variable in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Decimal-places-for-macro-variable/m-p/556611#M9857</link>
    <description>&lt;P&gt;Thank you so much for quick reply!&lt;/P&gt;</description>
    <pubDate>Mon, 06 May 2019 22:50:20 GMT</pubDate>
    <dc:creator>chinna0369</dc:creator>
    <dc:date>2019-05-06T22:50:20Z</dc:date>
    <item>
      <title>Decimal places for macro variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Decimal-places-for-macro-variable/m-p/556606#M9855</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is my code and values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;COde:&lt;/P&gt;&lt;P&gt;%let col8=%sysevalf(&amp;amp;col5+&amp;amp;col6+&amp;amp;col7);&lt;/P&gt;&lt;P&gt;%put &amp;amp;col5. &amp;amp;col6. &amp;amp;col7. &amp;amp;col8.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;log:&lt;/P&gt;&lt;P&gt;%put &amp;amp;col5. &amp;amp;col6. &amp;amp;col7. &amp;amp;col8.;&lt;BR /&gt;1.870 1.875 1.895 5.64&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want 3 decimal places for col8, how can i get that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 22:42:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Decimal-places-for-macro-variable/m-p/556606#M9855</guid>
      <dc:creator>chinna0369</dc:creator>
      <dc:date>2019-05-06T22:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal places for macro variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Decimal-places-for-macro-variable/m-p/556609#M9856</link>
      <description>&lt;P&gt;%let col8 = %sysfunc(putn(%sysevalf(&amp;amp;col5 + &amp;amp;col6 + &amp;amp;col7), 5.3));&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 22:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Decimal-places-for-macro-variable/m-p/556609#M9856</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-05-06T22:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal places for macro variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Decimal-places-for-macro-variable/m-p/556611#M9857</link>
      <description>&lt;P&gt;Thank you so much for quick reply!&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 22:50:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Decimal-places-for-macro-variable/m-p/556611#M9857</guid>
      <dc:creator>chinna0369</dc:creator>
      <dc:date>2019-05-06T22:50:20Z</dc:date>
    </item>
  </channel>
</rss>

