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

Please add shorter base 1000 suffixes #5

Open
eugenesvk opened this issue Mar 1, 2020 · 2 comments
Open

Please add shorter base 1000 suffixes #5

eugenesvk opened this issue Mar 1, 2020 · 2 comments

Comments

@eugenesvk
Copy link

eugenesvk commented Mar 1, 2020

I'd like to have 1-symbol short versions of the suffixes for base 1000 just like the ones for base 1024 that already exist in the cs format:

'' ' kb' ' mb' ' gb' ' tb' ' pb' ' eb' ' zb' ' yb' (current abbreviations)
''  'k'   'm'   'g'   't'   'p'   'e'   'z'   'y'  (proposed)

I've created a PR #4 with this changes by introducing a new css format that gets rid of the extra space/b symbols.
Hopefully you'll find this change useful

@stevenxxiu
Copy link

Hmm I'm not sure of this one, as in https://en.wikipedia.org/wiki/Binary_prefix it says M is $10^6$, so it might be confusing?

@eugenesvk
Copy link
Author

@stevenxxiu

  1. wiki says that M is both 10⁶ (SI) and 2²⁰ (JEDEC), so confusion is inevitable and has been there since forever
    Moreover, if you want strict SI compliance, you can't actually get it, because this module has MB instead of M in the si format module and wrong casing for the k in the casing_short

  2. if you can't differentiate between M and m there is a trivial solution — don't use this format! I just don't understand why there is no short format for base1000

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

2 participants