Math::Currency is a perl module that implements exact currency math with formatting and rounding. WWW: https://metacpan.org/release/Math-Currency