<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 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> <BR>Thanks again,<BR> <BR> Tom<br> <BR><div><div id="SkyDrivePlaceholder"></div>> From: alex@vandenbogaerdt.nl<br>> To: tjefferson2001@hotmail.com; rrd-users@lists.oetiker.ch<br>> Subject: Re: [rrd-users] Getting NaN in CDEF with LIMIT but the DEF has a validnumber<br>> Date: Wed, 28 Dec 2011 09:53:23 +0100<br>> <br>> I was typing my reply when Simon's came in. I believe it may be something different than normalization.<br>> <br>> ----- Original Message ----- <br>> From: "Tom Jefferson" <tjefferson2001@hotmail.com><br>> To: <alex@vandenbogaerdt.nl>; <rrd-users@lists.oetiker.ch><br>> Sent: Wednesday, December 28, 2011 6:00 AM<br>> Subject: RE: [rrd-users] Getting NaN in CDEF with LIMIT but the DEF has a validnumber<br>> <br>> <br>> <br>> > Thanks for the suggestion, that is indeed the issue. So when using a LIMIT in a CDEF should<br>> > you allow for a little overage on your range? Is this a common issue? <br>> <br>> 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>> <br>> I'm not sure if this is something the user should compensate for, or if RRDtool needs to be altered.<br>> <br></div>                                            </div></body>
</html>