<?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 Numerical Functions in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Numerical-Functions/m-p/548429#M152079</link>
    <description>&lt;P&gt;&lt;STRONG&gt;How to create a data set out of this question?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data work. report;&lt;BR /&gt;&amp;nbsp; Set work.sales;&lt;BR /&gt;If qtr(Sales_Date) GT 2;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The SaS data set work.sales has 1 observation for each month in the year 2007 and the variable sale_Date contains a SaS&amp;nbsp; date value for each of the 12 months.How many of the original 12 observations in Work.Sales are written to work.report data set?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2019 08:23:47 GMT</pubDate>
    <dc:creator>swayto</dc:creator>
    <dc:date>2019-04-04T08:23:47Z</dc:date>
    <item>
      <title>Numerical Functions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Numerical-Functions/m-p/548429#M152079</link>
      <description>&lt;P&gt;&lt;STRONG&gt;How to create a data set out of this question?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data work. report;&lt;BR /&gt;&amp;nbsp; Set work.sales;&lt;BR /&gt;If qtr(Sales_Date) GT 2;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The SaS data set work.sales has 1 observation for each month in the year 2007 and the variable sale_Date contains a SaS&amp;nbsp; date value for each of the 12 months.How many of the original 12 observations in Work.Sales are written to work.report data set?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 08:23:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Numerical-Functions/m-p/548429#M152079</guid>
      <dc:creator>swayto</dc:creator>
      <dc:date>2019-04-04T08:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Numerical Functions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Numerical-Functions/m-p/548430#M152080</link>
      <description>&lt;P&gt;Run the code, look at the log, the answer will be there. Or: Read the documentation of qtr and do the calculation yourself.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 08:30:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Numerical-Functions/m-p/548430#M152080</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-04-04T08:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Numerical Functions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Numerical-Functions/m-p/548437#M152082</link>
      <description>&lt;P&gt;I assume your base dataset has 12 entries for all the 12 moths.&lt;/P&gt;
&lt;P&gt;as per your code the output data should have 6 records, but you can obviously check it in log as well and check the values which are being returned by qtr function&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 09:24:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Numerical-Functions/m-p/548437#M152082</guid>
      <dc:creator>Shivam</dc:creator>
      <dc:date>2019-04-04T09:24:56Z</dc:date>
    </item>
  </channel>
</rss>

