Dave Cross: Still Munging Data With Perl: Online event - Mar 17 Learn more

NAME

Data::Tools::Math provides set of basic functions for mathematics.

SYNOPSIS

use Data::Tools::Math qw( :all ); # import all functions
use Data::Tools::Math; # the same as :all :)
use Data::Tools::Math qw( :none ); # do not import anything
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------

FUNCTIONS

num_round( $number, $precision )

Rounds $number to $precisioun places after the decimal point.

num_round_trunc( $number, $precision )

Same as num_trunc() but just truncates after the $precision places.

num_pow( $number, $exponent )

Returns power of $number by $exponent ( $num ** $exp )

REQUIRED MODULES

Data::Tools::Time uses:

* Math::BigFloat

GITHUB REPOSITORY

git@github.com:cade-vs/perl-data-tools.git

AUTHOR

Vladi Belperchinov-Shabanski "Cade"
<cade@noxrun.com> <cade@bis.bg> <cade@cpan.org>