Skip to content

Add binary prefixes for digital storage#90

Open
gkaklas wants to merge 3 commits intophysphil:developfrom
gkaklas:binary-prefixes
Open

Add binary prefixes for digital storage#90
gkaklas wants to merge 3 commits intophysphil:developfrom
gkaklas:binary-prefixes

Conversation

@gkaklas
Copy link

@gkaklas gkaklas commented Sep 4, 2017

Binary storage units are not very known, however they're the reason a 32GB flash drive shows up as 29GiB when plugged in a computer, a 1TB drive as ~900GiB and so on. I think that this PR is helpful for a user wanting to do such conversions, as doing so with a calculator requires all the intermediate 1024*1024*1024... calculations.

I wasn't sure how to leave untranslated entries for strings, so I just went ahead and added duplicate entries in every values-*/strings.xml. I'm not sure I like it and I don't know how is the correct way to do this, so if there is a better way please let me know and I'll just rebase.

This closes #46.

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

Successfully merging this pull request may close these issues.

Binary prefix at Digital Storage

2 participants

Comments