MINOR: stats: avoid excessive padding of float values with trailing zeroes
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 08:38:20 +0000 (10:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 08:48:17 +0000 (10:48 +0200)
commit065ba3186e5938be75aa8072549477563f3c9532
treeb30d4e1946ed7a9b6a33f112c0f2b96671ac17d7
parentaa33f20e272c05d5110bcb5ab1b49221724472af
MINOR: stats: avoid excessive padding of float values with trailing zeroes

When emitting stats, we don't need to have 6 zeroes after the decimal point
for each value, so let's trim floating point numbers to the longest needed
only.
src/stats.c