RPN Expression NAN is not working

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
Aristein
Posts: 9
Joined: Wed Mar 05, 2014 4:09 am

RPN Expression NAN is not working

Post by Aristein »

i want execute this code.

Code: Select all

if(|ds:value| == NAN)
   return -5
else
  return |ds:value|

and try this RPN Expression

Code: Select all

|ds:value|,NAN,EQ,-5,|ds:value|,IF
but that was not working.

then, i'm test rpn expression.

1. NAN,3,EQ -> 0
2. NAN,NAN,EQ -> 0
3. NAN,UNKN,NE -> 0
4. NAN,|ds:value|,NE -> 0


... NAN is not Working??

how can compare value and NaN?

help please!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests