全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: libformat-human-bytes-perl  ]

软件包:libformat-human-bytes-perl(0.06-2)

libformat-human-bytes-perl 的相关链接

Screenshot

Debian 的资源:

下载源码包 libformat-human-bytes-perl

维护小组:

外部的资源:

相似软件包:

Format a bytecount and make it human readable

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]);

标签: 软件开发: Perl 开发, 函数库, 实做语言: Perl, 角色: 共用函数库

其他与 libformat-human-bytes-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 libformat-human-bytes-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 7.5 kB25.0 kB [文件列表]