[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.
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
More information about the rrd-users