https://bugs.kde.org/show_bug.cgi?id=402798
Bug ID: 402798 Summary: Add data units (bits, bytes, kilobits, kibibytes, etc) Product: frameworks-kunitconversion Version: 5.53.0 Platform: Debian testing OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: general Assignee: jl...@kde.org Reporter: jrub...@gmail.com CC: kdelibs-b...@kde.org Target Milestone: --- SUMMARY KUnitConversion does not feature data storage units in the current source tree[1] (f46927e). I think this is a useful feature to add. STEPS TO REPRODUCE 1. Install the Unit Conversion addon for KRunner 2. Launch KRunner 3. Type "12 gigabytes in mebibytes" into the search bar OBSERVED RESULT No result EXPECTED RESULT A result of 11444.09 mebibytes SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux KDE Plasma Version: 5.14.3 Qt Version: 5.11.2 KDE Frameworks Version: 5.51.0 Kernel Version: 4.19.0-1-amd64 OS Type: 64-bit Processors: 4 × Intel Core Processor (Skylake, IBRS) Memory: 5.4 GiB of RAM ADDITIONAL INFORMATION It's easy to substitute bits as grams for conversion, like kilobit to kilogram, megabit to megagram, terabit to teragram, since both a bit and a gram equal 1. Additionally, the prefixes kilo, mega, terra, ... yotta are used by both, and mean the same thing. However, this does not help when trying to convert a bit to a byte (which is 8 bits), or SI prefixes (exponents of 1000) to binary prefixes like kibi, mebi, yobi (exponents of 1024). The units I would expect to be added are bits (1), and bytes (8), with SI (1K = 1000) and binary (1Ki = 1024) permutations for each from kilo/kibi to yotta/yobi. Adding these units would be very useful, since while using a computer, users deal with these types of units all the time. NIST has some information about binary prefixes[2][3]. [1] https://phabricator.kde.org/source/kunitconversion/browse/master/;f46927e9b196d78d117ce06516624094d33dd789 [2] https://physics.nist.gov/cuu/Units/binary.html [3] (wayback machine since [2] is down temporarily due to the 2019 US government shutdown) https://web.archive.org/web/20181126092457/https://physics.nist.gov/cuu/Units/binary.html -- You are receiving this mail because: You are watching all bug changes.