Skip to content

[Proposal] 'Natural' rounding to improve big numbers readability in dashboard #350

@electroape

Description

@electroape

Rounds the number to improve readability rounding off insignificant part with the rounding error of no more than 0.5%.
Examples :
654654 becomes 655000, rounding error 0.05%
12345 becomes 12300, rounding error 0.36%
2345 becomes 2350, rounding error 0.2%
51.8 becomes 52, rounding error 0.39%
Visual example in dashboard (numbers are randomized) :
https://imgur.com/WznmuTR
Code : electroape@3e5945c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions