gissehel / BarLauncher-UnitConverter

A simple but powerfull physical units converter for BarLauncher application (like Wox and Flow Launcher).
MIT License
1 stars 0 forks source link

Add byte unit #5

Closed stefnotch closed 2 years ago

stefnotch commented 2 years ago

I'm a software engineer, and would love to have a built-in byte unit. 1 byte = 8 bit

gissehel commented 2 years ago

It's built-in.

image

Byte : B Bit : bit

Note that you can also add your own units: Ex:

unit DVD=4.7GiB

image

You can then use DVD as a unit with value 4.7GiB (=4.7102410241024 B) (=4.7102410241024*8 bit) and use all prefixes like kDVD:

image

gissehel commented 2 years ago

Can I close the issue ?

gissehel commented 2 years ago

Also, with unit search unit (and unit search prefix for all prefixes) you can display the units currently know by your system:

image

and see the abreviation used.

stefnotch commented 2 years ago

Oh, lovely! Thanks for bringing that to my attention. (I was slightly expecting to also be able to type out the name of the unit)