libformat-human-bytes-perl

Format a bytecount and make it human readable

Description

Format::Human::Bytes is used to convert bytecount values to human-readable strings. It will return you a printable string which is more readable by humans than a simple bytecount.

For example:
   use Format::Human::Bytes;
   $readable = Format::Human::Bytes::base2($bytecount[,$decimals]);
It will convert in base 2 format.

   $readable = Format::Human::Bytes::base10($bytecount[,$decimals]);
It will convert in base 10 format.

Another way is to create constructor for example:

   $fhb = Format::Human::Bytes->new();
   $readable = $fhb->base2($bytecount[,$decimals]);
   $readable = $fhb->base10($bytecount[,$decimals]);

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Format-Human-Bytes


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libformat-human-bytes-perl