[rrd-users] Re: %lf

Mark Smith mark.smith at comdev.cc
Wed May 9 00:01:10 MEST 2001


Very simple.  From your unix command line, type this in:

% man 3 printf

-Mark

David Gabler wrote:

> %lf in its bare form gives me a number such as 300.000000.  What is the
> best way to round the .000000 off. as to not get ANY precision OR 1
> place of precision?
> 
> I have been looking through the docs but can not determine the proper
> way.
> 
> Thank you,
> 
> David
> 
> --
> 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


--
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