Skip to content
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

Default to num0 formatting for integer columns #1007

Open
hughess opened this issue Jul 6, 2023 · 0 comments
Open

Default to num0 formatting for integer columns #1007

hughess opened this issue Jul 6, 2023 · 0 comments

Comments

@hughess
Copy link
Member

hughess commented Jul 6, 2023

Feature Description

Default integer columns to num0 formatting in BigValue and Value components.

Now they default to 2 decimal places, which is not ideal

Goal of Feature

More accurate default formats without needing to override

Current Solution

Use fmt=num0

Implementation Notes

This might be a bit tricky given that the only number type in evidence is “number”. I recall an initial discussion about which situation is worse: defaulting an integer to 2 decimals vs. defaulting a decimal number to an integer.

Alternatives are:

  • Change the default decimals for BigValue and Value only
  • Change the default decimals for all numbers
  • Add an integer type to evidence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant