[collectd] Double output in plugin-cvs

Florian Forster octo at verplant.org
Mon Sep 14 18:39:21 CEST 2009


Hi Bill,

On Mon, Sep 14, 2009 at 11:14:34AM -0500, Bill Harris wrote:
> I guess the question is which is more palatable for other programs
> like gnuplot, or other charting programs to plot?  Or does it matter?

I don't think it matters. All programs use “strtod” or the brain-dead
little brother “atof” to convert strings to doubles. And both can handle
either format without problems.

(Of course there are exceptions, but I don't think they're worth talking
 about. They either have a specific need for an anternative
 implementation (which is broken if it can't handle those numbers) or
 the programmer should fix his or her program.)

Regards,
—octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090914/0a1e79f5/attachment.pgp 


More information about the collectd mailing list