NAME

Util::Medley::Number - utility methods for working with numbers

VERSION

version 0.055

SYNOPSIS

...

DESCRIPTION

...

METHODS

commify

Add commas to a number for readability.

usage:
$string = $util->commify($val);

$string = $util->commify(val => $val);
args:
val [Num]

The number value.

decommify

Remove commas from a numeric string.

usage:
$num = $util->decommify($val);

$num = $util->decommify(val => $val);
args:
val [Str]

The numeric string value.