4 ms·
Very nice! Any plans to add decibel/log-scale units? That would make this even handier.
by pdabbadabba 9y ago
Very nice! Any plans to add decibel/log-scale units? That would make this even handier.
- sharkdp 9y agoThank you! "bel" is already supported ("decibel" also, due to the handling of SI prefixes). Unfortunately, "dB" is parsed as "deci-byte". While this is not really a useful unit, this is on purpose (see https://github.com/sharkdp/insect/issues/67 https://github.com/sharkdp/insect/issues/67) in order to support "kB", "MB", etc. for "kilobyte", "megabyte", etc.
- alok-g 9y agoThis is worthy of fixing in my opinion. I do see this as a nuance, but if this is what the common usage of dB is, it should be supported.