Open delphidabbler opened 2 months ago
It would be easier in many cases to be able to specify file sizes in IEC standard quantities as follows:
So, specifying 4KiB would be the same as specifying 4,096 and 4kB would convert to 4,000.
4KiB
4,096
4kB
4,000
Rules:
4 KiB
KB
kB
Suggest not supported terabytes or tebibytes and larger quantities.
Could implement this via a lookup table (dictionary) where IEC symbol is mapped to byte multiplier, e.g. "KiB" gets mapped to 1024.
It would be easier in many cases to be able to specify file sizes in IEC standard quantities as follows:
So, specifying
4KiB
would be the same as specifying4,096
and4kB
would convert to4,000
.Rules:
4KiB
would be correct but4 KiB
would not.KB
is the same askB
andKB
.Suggest not supported terabytes or tebibytes and larger quantities.