<?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 QC Syntax question, mulitples of ten in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/QC-Syntax-question-mulitples-of-ten/m-p/294062#M61323</link>
    <description>&lt;P&gt;I am trying to find multiples of ten between two variables.&amp;nbsp; The way the edit is written is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="524"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="524"&gt;CommittedBalance should not be multiple of 10 from prior quarter.&amp;nbsp; For example, the prior quarter was 10 and the current quarter was 100.&amp;nbsp; 100 / 10 = 10.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure how to check this.&amp;nbsp; Is there a way to manipulate the mod(current,prior) function for this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2016 14:56:59 GMT</pubDate>
    <dc:creator>Steelers_In_DC</dc:creator>
    <dc:date>2016-08-25T14:56:59Z</dc:date>
    <item>
      <title>QC Syntax question, mulitples of ten</title>
      <link>https://communities.sas.com/t5/SAS-Programming/QC-Syntax-question-mulitples-of-ten/m-p/294062#M61323</link>
      <description>&lt;P&gt;I am trying to find multiples of ten between two variables.&amp;nbsp; The way the edit is written is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="524"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="524"&gt;CommittedBalance should not be multiple of 10 from prior quarter.&amp;nbsp; For example, the prior quarter was 10 and the current quarter was 100.&amp;nbsp; 100 / 10 = 10.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure how to check this.&amp;nbsp; Is there a way to manipulate the mod(current,prior) function for this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 14:56:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/QC-Syntax-question-mulitples-of-ten/m-p/294062#M61323</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2016-08-25T14:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: QC Syntax question, mulitples of ten</title>
      <link>https://communities.sas.com/t5/SAS-Programming/QC-Syntax-question-mulitples-of-ten/m-p/294064#M61324</link>
      <description>&lt;P&gt;Not sure I have fully understand your questions, is it like this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if mod(current/prior,10)=0;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 15:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/QC-Syntax-question-mulitples-of-ten/m-p/294064#M61324</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2016-08-25T15:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: QC Syntax question, mulitples of ten</title>
      <link>https://communities.sas.com/t5/SAS-Programming/QC-Syntax-question-mulitples-of-ten/m-p/294065#M61325</link>
      <description>&lt;P&gt;The mod function with a result of 0 only would tell you that the value was A multiple of the prior, could be any .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have the values easily to compare then&lt;/P&gt;
&lt;P&gt;if current = 10* prior then &amp;lt;what ever&amp;gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would work.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 15:13:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/QC-Syntax-question-mulitples-of-ten/m-p/294065#M61325</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-25T15:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: QC Syntax question, mulitples of ten</title>
      <link>https://communities.sas.com/t5/SAS-Programming/QC-Syntax-question-mulitples-of-ten/m-p/294069#M61326</link>
      <description>&lt;P&gt;I guess something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;flag = CommittedBalance ne lag(CommittedBalance) and
	(mod(CommittedBalance / lag(CommittedBalance), 10) = 0 or 
	 mod(lag(CommittedBalance) / CommittedBalance, 10) = 0);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Aug 2016 15:21:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/QC-Syntax-question-mulitples-of-ten/m-p/294069#M61326</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-08-25T15:21:06Z</dc:date>
    </item>
  </channel>
</rss>

