Sophie

Sophie

distrib > PLD > th > ppc > by-pkgid > 03a3088e941e13d9576d737da5fc126e

perl-Math-Currency-0.47-1.src.rpm

Description:

Currency math is actually more closely related to integer math than it
is to floating point math. Rounding errors on addition and subtraction
are not allowed and division/multiplication should never create more
accuracy than the original values. All currency values should round to
the closest cent or whatever the local equivalent should happen to be.

All common mathematical operations are overloaded, so once you
initialize a currency variable, you can treat it like any number and
the module will do the right thing. This module is a thin layer over
Math::BigFloat which is itself a layer over Math::BigInt.

Generated packages:

Other version of this rpm: