> Hi Chris,
> but this method would add a leading zero always, right? My problem is, that I 
> don't what to add a leading zero, if the value already has two numbers before 
> the point.

You can specify in the formula how many digits you want to print
before the decimal point. If you use a format of "%02.2lf" then it
will print two digits (zero padded) before the decimal point and 2
digits after the decimal point.

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to