Currently, 1024 bytes are shown as 1 KB when 1 KiB is correct. KB is only correct if the conversion factor is 1000 and not 1024.
This implementation is calculating the IEC-prefix and displaying the SI-prefix.
More details: https://en.wikipedia.org/wiki/Byte#Multiple-byte_units
Currently, 1024 bytes are shown as
1 KBwhen1 KiBis correct.KBis only correct if the conversion factor is 1000 and not 1024.This implementation is calculating the IEC-prefix and displaying the SI-prefix.
More details: https://en.wikipedia.org/wiki/Byte#Multiple-byte_units