NAME

Format::LongNumber - Format long numbers to human readable view.

SYNOPSIS

use Format::LongNumber;

my $seconds = 121;
print full_time($seconds); # '2m 1s'

my $bytes = 1025;
print long_traffic($bytes); # '1Kb 1 Bytes'
print short_traffic($bytes); # '1,00Kb'

# You may create custom formats by functions:
# short_value(%grade_table, $value);
# full_value(%grade_table, $value);

# For example:
my %my_time_grade = (
	3600*24	=> " day",
	3600	=> " hour",
	60		=> " min",
	1		=> " sec"
);
print full_value(\%my_time_grade, 121); # '2 min 1 sec'
);
full_value()

Abstract function of the final value Params: grade_table - hash with dimensions, where the key is a value dimension, and the value is the symbol dimension total - value to bring us to the desired mean

short_value()

Converts the given value only to the largest grade-value

1 POD Error

The following errors were encountered while parsing the POD:

Around line 79:

'=item' outside of any '=over'

=over without closing =back