Changing the style in a big number should always round to 2 decimal points
See original GitHub issueDescription: What is it?
If I have a big number and I change the style to millions or thousands, we should always just round the value to the nearest 2 decimal points.
Problem: What problem does this solve?
It’s really hard to read values that aren’t rounded.
What: Roughly, what does this look like in the product?
This image
Would end up looking like this:
23.56M
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Round a number to the decimal places I want - Microsoft Support
Select the cells that you want to format. · On the Home tab, click Increase Decimal or Decrease Decimal to show more or...
Read more >How to Use Excel Rounding Functions - Contextures
To round large numbers, and make them easier to read, you can use Custom Number Formats, to round to the left of the...
Read more >How do I restrict a float value to only two places after the ...
To round after k decimal places, use a scale factor of 10^k. This should be really easy to see if you write out...
Read more >Rounding in Excel: ROUND, ROUNDUP, ROUNDDOWN ...
=ROUND(A2, 2) - rounds the number in A2 to 2 decimal places, upward or downward, depending on whether the 3 rd decimal digit...
Read more >Excel: How to Change Decimal Places - Number Formatting
If you need to format numbers in excel to increase or decrease the number of decimal places then you can do that easily....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d say round to 2 of whatever the rounded value is.
E.g. I have the number 135,450.3945
In my YAML, I have no changes:
135,450.3945
In my big number chart, I selectthousands
, so I have:135.45K
In my YAML I have round
2
:135,450.39
In my big number chart, I selectthousands
, so I have:135.45K
In my YAML, I have round
-4
:140,000.00
In my big number chart, I selectthousands
, so I have:140.00K
Does that make sense? (or is that even possible?)
🎉 This issue has been resolved in version 0.101.0 🎉
The release is available on:
0.101.0
Your semantic-release bot 📦🚀