-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: significant figures #117
Comments
The |
I know; significant figures doesn't matter to me for this lib. PR or it'll never land. |
Please do, features are driven by other people at this point. |
avoidwork
added a commit
that referenced
this issue
Jun 30, 2021
avoidwork
added a commit
that referenced
this issue
Jun 30, 2021
Adding test for invalid `precision` value
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature description
Would like to set significant figures on the output value.
So, for example,
1 KB
could be outputted as1.00 KB
.Use case
When I have the values in a right-aligned table, the numbers that end with a 0 are truncated and have different string lengths:
The text was updated successfully, but these errors were encountered: