Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V2 services: improve formatting of float values
Format float values with max 5 decimals and trim excess zeroes from the end. This is to avoid long strings of random digits at the end of values, especially the load averages from GetBackendStatus.
- Loading branch information
1 parent
5415d49
commit 3b99d0a
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters