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

Ensure we report MiB/GiB/... values everywhere #989

Open
benoit74 opened this issue Jun 24, 2024 · 0 comments
Open

Ensure we report MiB/GiB/... values everywhere #989

benoit74 opened this issue Jun 24, 2024 · 0 comments

Comments

@benoit74
Copy link
Collaborator

See kiwix/libkiwix#1095

We need to:

  • display a MiB/GiB value with only 3 significant digits, rounded to the nearest
  • ensure the unit is written as MiB/GiB

E.g. if a file size is 12341234 bytes, it must be reported as 11.8 MiB (12341234 / 1024 / 1024 = 11,7695178986)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant