Skip Menu |

This queue is for tickets about the Format-Human-Bytes CPAN distribution.

Report information
The Basics
Id: 56384
Status: open
Priority: 0/
Queue: Format-Human-Bytes

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.04
Fixed in: (no value)



Subject: base2 should use binary SI prefixes
The base2 method prints the suffices kB, MB, GB, etc... when it is using base2 divisions. This is wrong. Please see http://en.wikipedia.org/wiki/Si_prefix#Binary_prefixes I suggest instead KiB # note the capital 'K' MiB GiB MiB TiB -- Paul Evans
On Thu Apr 08 06:48:42 2010, PEVANS wrote: Show quoted text
> KiB # note the capital 'K' > MiB > GiB
Show quoted text
> MiB
((umm... forget that one ;) )) Show quoted text
> TiB
-- Paul Evans
+1 from me. I realise this standard hasn't been enthusiastically adopted on Windows, but it's too late now: MB now means either 1048576 or 1000000 bytes depending on who you're talking to, whereas MiB is unambiguously 1048576 bytes. Please provide an option to use KiB, MiB...