[rrd-users] How to set values with a beginning Zero?
chris at noodles.org.uk
Tue Feb 28 12:25:01 CET 2012
> is there any possibility to set for values like 1.45 a beginning zero? So, that 1.45 would be 01.45 in the output, but values like 23.64 won't get any additional zero.
I am assuming you are referring to adding a leading zero to numbers
which are output onto graphs? You can prefix the format to GPRINT with
a 0 to indicate that it must print leading zeros, e.g.:
More information about the rrd-users