wolph / alfred-converter

Alfred unit converter is a smart calculator for Alfred with support for unit conversions to make it a bit comparable to the Google Calculator and Wolfram Alpha.
93 stars 15 forks source link

1024mb should be equal to 1.000gb #36

Closed welcomeacheron closed 2 years ago

welcomeacheron commented 2 years ago

Hello, first of all thank you for the conversion tool provided. I found a problem in the process of using the computer unit conversion.

The computer storage unit conversion error, for example, 1024mb should be equal to 1.000gb, and the tool conversion result is equal to 1.024gb, the storage unit conversion should be 1024.

wolph commented 2 years ago

I think you're confusing megabit with mebibit. Specifically: M = mega = 1000 Mi = mebi = 1024

So for that conversion you need to convert 1024 mib (or Mib, both will work) instead of 1000 mb. https://en.wikipedia.org/wiki/Binary_prefix

welcomeacheron commented 2 years ago

Thank you for your help, my problem has been solved.

wolph commented 2 years ago

Happy to hear it. It's an old but still very confusing thing. Lawsuits have been won over this https://www.crn.com/news/channel-programs/189602434/western-digital-settles-hard-drive-capacity-lawsuit.htm