<?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: Rounding in EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/498646#M32055</link>
    <description>&lt;P&gt;Using the intnx-function seems to be better:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   d = datetime();
   put d datetime.;
   r = intnx('dtminutes', d, 0, 'B');
   put r datetime.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 25 Sep 2018 06:03:39 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2018-09-25T06:03:39Z</dc:date>
    <item>
      <title>Rounding in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/45342#M5190</link>
      <description>Is there a rounddown function in EG?&lt;BR /&gt;
I'd like my data to be like this:&lt;BR /&gt;
2.3 = 2&lt;BR /&gt;
2.4 = 2&lt;BR /&gt;
2.5 = 2&lt;BR /&gt;
2.6 = 2&lt;BR /&gt;
2.7 = 2&lt;BR /&gt;
2.8 = 2&lt;BR /&gt;
2.9 = 2&lt;BR /&gt;
3.0 = 3&lt;BR /&gt;
&lt;BR /&gt;
Any help would be appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
      <pubDate>Thu, 11 Sep 2008 18:11:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/45342#M5190</guid>
      <dc:creator>AaroninMN</dc:creator>
      <dc:date>2008-09-11T18:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/45343#M5191</link>
      <description>The DATA step FLOOR or possibly the INT function.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 11 Sep 2008 18:29:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/45343#M5191</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-09-11T18:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/45344#M5192</link>
      <description>Thanks Scott.  The INT function worked.</description>
      <pubDate>Thu, 11 Sep 2008 20:48:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/45344#M5192</guid>
      <dc:creator>AaroninMN</dc:creator>
      <dc:date>2008-09-11T20:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/498643#M32054</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm also looking into this at the moment. I am working with date and time stamps, and want to round down to the nearest minute - this means I would like round down a number to the nearest increment of 60.&lt;/P&gt;
&lt;P&gt;Currently I am using&amp;nbsp;round(floor(timepart(a.update_dt)/60)*60, 1) .&lt;/P&gt;
&lt;P&gt;Does anyone have a difference/better solution?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 05:00:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/498643#M32054</guid>
      <dc:creator>GenDemo</dc:creator>
      <dc:date>2018-09-25T05:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/498646#M32055</link>
      <description>&lt;P&gt;Using the intnx-function seems to be better:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   d = datetime();
   put d datetime.;
   r = intnx('dtminutes', d, 0, 'B');
   put r datetime.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Sep 2018 06:03:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/498646#M32055</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-09-25T06:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding in EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/498908#M32080</link>
      <description>Hahahaha, touché !</description>
      <pubDate>Wed, 26 Sep 2018 01:32:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rounding-in-EG/m-p/498908#M32080</guid>
      <dc:creator>GenDemo</dc:creator>
      <dc:date>2018-09-26T01:32:35Z</dc:date>
    </item>
  </channel>
</rss>

