<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Thanks for the answers Simon&nbsp;and Alex! I think I understand the issue now thanks to your help. For the time being I will not treat the LIMIT value as an exact but more of a coarse limit and set my range accordingly.<BR>&nbsp;<BR>Thanks again,<BR>&nbsp;<BR>&nbsp;Tom<br>&nbsp;<BR><div><div id="SkyDrivePlaceholder"></div>&gt; From: alex@vandenbogaerdt.nl<br>&gt; To: tjefferson2001@hotmail.com; rrd-users@lists.oetiker.ch<br>&gt; Subject: Re: [rrd-users] Getting NaN in CDEF with LIMIT but the DEF has a validnumber<br>&gt; Date: Wed, 28 Dec 2011 09:53:23 +0100<br>&gt; <br>&gt; I  was typing my reply when Simon's came in. I believe it may be something different than normalization.<br>&gt; <br>&gt; ----- Original Message ----- <br>&gt; From: "Tom Jefferson" &lt;tjefferson2001@hotmail.com&gt;<br>&gt; To: &lt;alex@vandenbogaerdt.nl&gt;; &lt;rrd-users@lists.oetiker.ch&gt;<br>&gt; Sent: Wednesday, December 28, 2011 6:00 AM<br>&gt; Subject: RE: [rrd-users] Getting NaN in CDEF with LIMIT but the DEF has a validnumber<br>&gt; <br>&gt; <br>&gt; <br>&gt; &gt; Thanks for the suggestion, that is indeed the issue. So when using a LIMIT in a CDEF should<br>&gt; &gt; you allow for a little overage on your range?  Is this a common issue?   <br>&gt; <br>&gt; I'm not a mathematician, but my gut feeling says that comparing floating point values (google for it) is not just about the equal sign. Google for "comparing floating point values" and you'll find plenty of information.<br>&gt; <br>&gt; I'm not sure if this is something the user should compensate for, or if RRDtool needs to be altered.<br>&gt; <br></div>                                               </div></body>
</html>