-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: add more precision to small percentages
Cases where the percentage was 0 < value < 1 could be showing as 0 because there was not enough decimal points being displayed, which was causing confusion. This commit adds a new function where we treat this cases differently, adding more decimal points (up to 10) or indicating that the value is approximately zero (~0.0 %), but not exactly zero. Part Of #104605 Release note (bug fix): Show more precision to small percentage values on the percentage bars on the Console.
- Loading branch information
Showing
3 changed files
with
53 additions
and
2 deletions.
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
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
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