question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changing the style in a big number should always round to 2 decimal points

See original GitHub issue

Description: 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 image

Would end up looking like this: 23.56M

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
TuringLovesDeathMetalcommented, May 16, 2022

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 select thousands, so I have: 135.45K

In my YAML I have round 2: 135,450.39 In my big number chart, I select thousands, so I have: 135.45K

In my YAML, I have round -4: 140,000.00 In my big number chart, I select thousands, so I have: 140.00K

Does that make sense? (or is that even possible?)

0reactions
github-actions[bot]commented, May 16, 2022

🎉 This issue has been resolved in version 0.101.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found