Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, the "just below" text is displayed at inappropriate points when "decimals" is set to 2 (both in unnecessary cases, and - as seen in the screenshot below - just completely wrong cases, as 2.952 is not below 2.95)
It should only show if there's a rounding happening one decimal point below the currently set decimal display, and only if it's just below 3, 4.5, or 7.
This PR adds more nuance to the big
if
used to decide when to show the "just below" bit.(not sure why it decided that 2.952 actually rounds to 2.96 in this case...but nothing that I touched should have influenced that. EDIT: ah, it's likely this which accounts for the difference in rounding between the last release - first screenshot here - and the latest main branch - second screenshot, with my PR applied - 0cee4cc)