<?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: division by ZERO in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/division-by-ZERO/m-p/65273#M14174</link>
    <description>Hi:&lt;BR /&gt;
  Also, using the DIVIDE function&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/19/965.html" target="_blank"&gt;http://support.sas.com/kb/19/965.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
does not produce the "divide by zero" message that you get when you code your division this way divide(a,b) versus a/b&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
    <pubDate>Wed, 10 Dec 2008 15:45:43 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2008-12-10T15:45:43Z</dc:date>
    <item>
      <title>division by ZERO</title>
      <link>https://communities.sas.com/t5/SAS-Programming/division-by-ZERO/m-p/65270#M14171</link>
      <description>hi,&lt;BR /&gt;
i used the new IFC function to avoid division by 0, but it seems it does not work:&lt;BR /&gt;
data test;&lt;BR /&gt;
 input a b ; &lt;BR /&gt;
 l=ifn(b=0 , 0 , a/B )  ;&lt;BR /&gt;
cards;&lt;BR /&gt;
10 2&lt;BR /&gt;
10 5&lt;BR /&gt;
8 0&lt;BR /&gt;
8 4&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
reason ????</description>
      <pubDate>Tue, 09 Dec 2008 15:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/division-by-ZERO/m-p/65270#M14171</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-12-09T15:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: division by ZERO</title>
      <link>https://communities.sas.com/t5/SAS-Programming/division-by-ZERO/m-p/65271#M14172</link>
      <description>i mean IFN function of course</description>
      <pubDate>Tue, 09 Dec 2008 15:52:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/division-by-ZERO/m-p/65271#M14172</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-12-09T15:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: division by ZERO</title>
      <link>https://communities.sas.com/t5/SAS-Programming/division-by-ZERO/m-p/65272#M14173</link>
      <description>Not like IF/THEN/ELSE, IFN calculate 'a/b' in advance, then judge the logical statement 'b=0'. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 10 Dec 2008 07:43:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/division-by-ZERO/m-p/65272#M14173</guid>
      <dc:creator>KevinQin</dc:creator>
      <dc:date>2008-12-10T07:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: division by ZERO</title>
      <link>https://communities.sas.com/t5/SAS-Programming/division-by-ZERO/m-p/65273#M14174</link>
      <description>Hi:&lt;BR /&gt;
  Also, using the DIVIDE function&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/19/965.html" target="_blank"&gt;http://support.sas.com/kb/19/965.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
does not produce the "divide by zero" message that you get when you code your division this way divide(a,b) versus a/b&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 10 Dec 2008 15:45:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/division-by-ZERO/m-p/65273#M14174</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-12-10T15:45:43Z</dc:date>
    </item>
  </channel>
</rss>

