[rrd-users] GPRINT produces float value although input is int

thanos1983 goofy_thanos2001 at hotmail.com
Tue May 20 01:13:10 CEST 2014

Dear all,

This is my final attempt to solve my problem, I do not know where else to
ask. I am experimenting with RRD in Perl and PHP and I have to admit that I
amazed from the capabilities of the tool. Any way moving on, My graph works
just fine the only problem that I am facing is when I use
"GPRINT:".$in_min.": Minimum\:%6.2lf %S", I get a floating value: 195.20 for
example, although that the value inserted is 195. I tried to round down the
value unfortunately with no success. Is there something that I could do to
make the value appear as int and not as float?

Thank you for your time and effort.

If you have queries please do not hesitate to come in contact with me.?

Best Regards,

View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/GPRINT-produces-float-value-although-input-is-int-tp7582079.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

More information about the rrd-users mailing list