feat(new tools): Data Storage/Transfer Units Converter
New Tool: Data Transfer Rate Converter New Tool: Data Storage Units Converter (with MB, MiB and Mb)
Fix #539 #785 #1160 #848
Data Storage Units Converter inspired by #948 by @utf26
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| it-tools | ✅ Ready (Inspect) | Visit Preview | Sep 21, 2024 8:10am |
@sharevb Thanks for your work! I'm wondering why the tool says 1MB = 1000KB. Shouldn't it be 1024KB? The tool from #948 calculates that correctly.
Also the separators look wrong to me. Should be a dot for decimals instead of a comma in English and vice versa?
Hi @steffenrapp, I would have also said MB is 1024² but in fact MB is decimal 1000² and MiB is binary 1024² : https://en.wikipedia.org/wiki/Megabyte ; confusing, I admit
Hi @steffenrapp, regarding comma or dot, the display use your browser language but right, it should be always English
Sorry my bad 🤦🏻♂️
Hi @steffenrapp, implemented "always dot" (and no thousand separator) as your bug report. Thanks, it is clearer now.
Hi @sharevb what do you think if the decimal separator would be depending on the selected language? Might be a general global implementation to define and later use those rules.
Hi @steffenrapp, I am not sure it is not confusing to present as local formating (at least for this tool, since it is IT tools, it is supposed to be IT formating) and also because I presume you have a German language on your computer and you were surprise that it was "1.000,00"
Hi @sharevb I understand your perspective and think it makes sense like that. A general decision for the product should be made by @CorentinTh if he wants some clear guidelines.
EDIT: Yes my devices are German 😀 In fact I was confused because I had English select in the tool and it was the German formatting.
Waiting for this new tool! Thanks!!
Hi @sharevb , can you add fullname like this, for more details
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Hi @quyvsquy (and @steffenrapp and @CorentinTh) added label for units (right, it is better, thanks)
Hi @sharevb Nice looks good 👍🏼
Hi, for people interested in up to date version of it-tools, I made kind of a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)
this is pretty close, but would be nice to have bit and byte options. as I went to just try this out to see how fast something downloaded that was 9.8 GB in x seconds... I expected to see MB/s not Mbps
@sharevb is attempting to deploy a commit to the Corentin Thomasset's Team Team on Vercel.
A member of the Team first needs to authorize it.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Hi @thezoggy, implemented in my fork : https://sharevb-it-tools.vercel.app/data-transfer-rate-converter
@CorentinTh Can this be added? Instead of folks being linked to and such would be nice to just see the feature deployed. Thank you!
Looking forward to this implementation.
Hi @Xerionty , https://sharevb-it-tools.vercel.app/data-transfer-rate-converter or https://sharevb-it-tools.vercel.app/data-storage-unit-converter , and if you arr interested in up to date version of it-tools, I made kind of a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)
this does not look to be working correctly
Hi @thezoggy , MB is 1000 based. MiB is 1024 based. What do you mean by "this does not look to be working correctly" ? Thanks
Hi @thezoggy , MB is 1000 based. MiB is 1024 based. What do you mean by "this does not look to be working correctly" ? Thanks
Setting the precision should result in decimal places. So with 1 set, I would have expected 25000.0MB
Hi @thezoggy , MB is 1000 based. MiB is 1024 based. What do you mean by "this does not look to be working correctly" ? Thanks
Setting the precision should result in decimal places. So with 1 set, I would have expected 25000.0MB
Precision is the max number of digit if needed. I made for converting, not for formatting values. But it make sense too.
Hi @thezoggy , MB is 1000 based. MiB is 1024 based. What do you mean by "this does not look to be working correctly" ? Thanks
Setting the precision should result in decimal places. So with 1 set, I would have expected 25000.0MB
Precision is the max number of digit if needed. I made for converting, not for formatting values. But it make sense too.
in most things where you offer precision you expect it to be explicitly used and rounded to that decimal place.... so if people want integers they use precision of 0
Hi @thezoggy , fixed in https://sharevb-it-tools.vercel.app/data-storage-unit-converter, thanks for this reporting
And if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)