New IEC prefixes for multiples of 1024 were introduced in 1998 or so, get with the times man :)
While you're at it, you may as well toss in the zetta- and yotta- prefixes...
my @suffixes = qw/B KiB MiB GiB TiB PiB EiB ZiB YiB/;
• another intruder with the mooring in the heart of the Perl
In reply to Re: "Human" pretty-printer for data capacity
by grinder
in thread "Human" pretty-printer for data capacity
by calin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |