<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Invalid numbers: NaN and infinity"]]></title>
		<link>http://www.sqlpower.ca/forum/posts/list/206.page</link>
		<description><![CDATA[Latest messages posted in the topic "Invalid numbers: NaN and infinity"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Invalid numbers: NaN and infinity</title>
				<description><![CDATA[ Hi there, <br /> <br /> I created a derived measure for my KPI and the formula is this:<br /> <br /> (x-y)/y * 100.<br /> <br /> Some rows evaluate to NaN and some to 'oo' (the infinity symbol). Is 'NaN' equal to 'Not a number'?<br /> <br /> Just making sure i understand these 'symbols' correctly...<br /> <br /> It looks like when i have an expression:<br /> 1) '(0-0)/0 * 100', this evaluates to NaN . <br /> 2) '(60-0)/0*100', this evaluates to infinity.<br /> <br /> I thought anything divided by 0 equals 'infinity' but looks like if the numerator is 0, then the result is NaN on the Dashboard?<br /> <br /> Just curious...]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/2002/3125.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/2002/3125.page</link>
				<pubDate><![CDATA[Tue, 8 Jul 2008 18:23:33]]> GMT</pubDate>
				<author><![CDATA[ Nogo]]></author>
			</item>
			<item>
				<title>Re:Invalid numbers: NaN and infinity</title>
				<description><![CDATA[ Your observations are correct.<br /> <br /> The particular rules that govern what result you get are specified by IEEE 754. They reflect what you'd generally see in a math class these days. 0/0 is indeterminate; (&lt;0)/0 is -infinity; (&gt;0)/0 is infinity; infinity/infinity is indeterminate, and so on.<br /> <br /> -Jonathan<br /> ]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/2002/3128.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/2002/3128.page</link>
				<pubDate><![CDATA[Tue, 8 Jul 2008 18:34:55]]> GMT</pubDate>
				<author><![CDATA[ Jonathan]]></author>
			</item>
	</channel>
</rss>
