Math::BigFloat seems to be doing decimal floating point, not binary, but I don't have much experience with it. There are a couple of other decimal modules on CPAN, but I know even less about them. The trouble with Perl's standard multiple-precision math modules is that they're overcomplicated and have some surprising behavior.