<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Crystal Reports: SafeDivide() Function</title>
	<atom:link href="http://cogniza.com/wordpress/2005/10/26/crystal-reports-safedivide-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://cogniza.com/wordpress/2005/10/26/crystal-reports-safedivide-function/</link>
	<description>Business-Intelligence Specialists</description>
	<lastBuildDate>Mon, 18 Jul 2011 05:13:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Cogniza: Extreme Insight &#187; Blog Archive &#187; Crystal Reports: Strategy to Localize a Report (labels)</title>
		<link>http://cogniza.com/wordpress/2005/10/26/crystal-reports-safedivide-function/comment-page-1/#comment-4</link>
		<dc:creator>Cogniza: Extreme Insight &#187; Blog Archive &#187; Crystal Reports: Strategy to Localize a Report (labels)</dc:creator>
		<pubDate>Thu, 09 Jul 2009 15:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.cogniza.com/blog/?p=12#comment-4</guid>
		<description>[...] this keyword can only be used in formulae that are executed during the report&#8217;s Second Pass. The following Record Selection Formula, for example, will generate an [...]</description>
		<content:encoded><![CDATA[<p>[...] this keyword can only be used in formulae that are executed during the report&#8217;s Second Pass. The following Record Selection Formula, for example, will generate an [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chuck arinze</title>
		<link>http://cogniza.com/wordpress/2005/10/26/crystal-reports-safedivide-function/comment-page-1/#comment-3</link>
		<dc:creator>chuck arinze</dc:creator>
		<pubDate>Mon, 14 May 2007 15:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.cogniza.com/blog/?p=12#comment-3</guid>
		<description>Was just looking for something else and i came across this. This will fail under certain conditions. To get it to work right do the following:

Function SafeDivide(Numerator As Number, Denominator As Number) As Number
If Denominator0 Then
 if Numerator0 then
    SafeDivide=Numerator\Denominator
 end if
end if
End Function

OR (.NET only)

Function SafeDivide(Numerator As Number, Denominator As Number) As Number
If Denominator0 AndAlso  Numerator0 Then
    SafeDivide=Numerator\Denominator
end if
End Function</description>
		<content:encoded><![CDATA[<p>Was just looking for something else and i came across this. This will fail under certain conditions. To get it to work right do the following:</p>
<p>Function SafeDivide(Numerator As Number, Denominator As Number) As Number<br />
If Denominator0 Then<br />
 if Numerator0 then<br />
    SafeDivide=Numerator\Denominator<br />
 end if<br />
end if<br />
End Function</p>
<p>OR (.NET only)</p>
<p>Function SafeDivide(Numerator As Number, Denominator As Number) As Number<br />
If Denominator0 AndAlso  Numerator0 Then<br />
    SafeDivide=Numerator\Denominator<br />
end if<br />
End Function</p>
]]></content:encoded>
	</item>
</channel>
</rss>

