Math::Currency - Exact Currency Math with Formatting and Rounding
This module uses the new Math::BigFloat for all math operations. It permits
currency calculations without concern with floating point notation and
rounding issues.
This version has been completely rewritten to more fully support Locale
formatting, with special emphasis on the Euro. There are possibly significant
API changes with regard to the format definitions. Please see the POD for
more details.
To install, do the usual (as non-root):
perl Makefile.PL
make
make test
You can alternately run
make test TEST_VERBOSE=1
to see the actual tests being run, as well as some example outputs.
Then to install the module (as root):
make install
NOTE: You must install Math::BigFloat 1.27 before installing this module,
which is not currently part of the Perl core (it will be included with 5.6.2).
You can get Math::BigFloat as part of the Math::BigInt 1.49 distribution found
here:
http://www.cpan.org/modules/by-module/Math/Math-BigInt-1.49.tar.gz
or from your local CPAN site.
John Peacock
jpeacock@rowman.com
$Revision: 3.0 $