Hi Steve,

this would be sort of like the COALECE operator in SQL ...

this does not solve the ALL NAN scenario though.

cheers
tobi

Today Steve Hill wrote:

> On Thu, Mar 06, 2008 at 06:48:32AM +0100, Tobias Oetiker wrote:
>
> > or if you insist to make this simpler, how about implementing a
> > NANTOZERO operator ?
>
> Wouldn't a generic 'IFNAN' operator be more useful? That way I could
> substitute any other value, as appropriate for my calculation. You
> could still get the NANORZERO with something like:
>
> a,0,IFNAN
>
> Steve
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 213 9902

_______________________________________________
rrd-developers mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

Reply via email to