dugword / Number-Bytes-Human

A Perl6 module for converting large numbers in bytes to kb, mb, gb, and so on.
MIT License
0 stars 1 forks source link

Option to omit magnitude for values < 1024? #2

Open CurtTilmes opened 5 years ago

CurtTilmes commented 5 years ago

We like the 'K', 'M', etc. but the 'B' confuses people. How about an option to omit the magnitude for values < 1024?

dugword commented 5 years ago

Hi Curt,

Thank you for opening an issue.

This module was intended to be a re-write of the original perl5 module, and the original Perl module does not add the 'B' suffix.

I would consider the 'B' suffix to be a bug in this implementation, and I will release an update to remove it.