-
Notifications
You must be signed in to change notification settings - Fork 108
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
number(accuracy = NULL) heuristic too precise? #279
Comments
@nicolaspayette - Please note that #235 changes the default of |
@davidchall, #235 looks fantastic. And maybe having |
hadley
pushed a commit
that referenced
this issue
Mar 16, 2022
Reduce precision when 2nd significant figure is always zero Fixes #279
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the smallest interval is >= 1 and < 10, the heuristic computes an accuracy of 0.1.
This might be the intended behaviour, but I find it puzzling: why would the extra decimal be desirable?
The question has been raised in passing before, but I didn't find any other discussion.
If this behaviour is modified, it might also make sense to change the default in
label_number_si()
toaccuracy = NULL
, since the current default ofaccuracy = 1
gives results like:The text was updated successfully, but these errors were encountered: