Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > e8a942f50f7429dca0d4171bfb094668

perl-Math-Currency-0.39-1.noarch.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.

Sources packages:

Other version of this rpm: