[rrd-users] Re: Print 'nan' as 0 ?

Alex van den Bogaerdt alex at ergens.op.het.net
Thu Jan 15 15:59:14 MET 2004


On Thu, Jan 15, 2004 at 10:52:21PM +0800, Michael Boman wrote:
> Is it possible to make GPRINT print 'nan' as '0'? For a geek it's OK to
> see 'nan' as you can understand what it means, but the old man upstairs
> might not be that "smart" and I believe that they would more easily
> understand '0.00' instead of 'nan'. Possible? How?

Yes and no.

No, GPRINT cannot do this.
Yes, you can change NaN into 0 and print that.

Have a look at RPN, CDEF.  I think there even is a ready example in
one of the tutorials.

HTH
Alex
-- 
begin  sig
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1
This message was produced without any <iframe tags

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list