-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't show a decimal for zero-precision values in edge cases
Previously, if the value was close to zero, we would show a single decimal of precision, so that the user could be aware that there was SOME power draw or feed. Now, assume that sub-one-watt values are just error, or not worth showing, and simply use zero-decimal-precision for all such values. Also, we previously showed a decimal of precision for Percentage values close to 100%, but now we just round up to 100%. Contributes to #1328
- Loading branch information
Showing
2 changed files
with
19 additions
and
27 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