diff --git a/lib/LedgerSMB/PGNumber.pm b/lib/LedgerSMB/PGNumber.pm index 1c94023fc0..4c37a98462 100644 --- a/lib/LedgerSMB/PGNumber.pm +++ b/lib/LedgerSMB/PGNumber.pm @@ -41,6 +41,9 @@ $accuracy = $precision = undef; $round_mode = 'even'; $div_scale = 40; +# Prevent downgrading to Math::BigInt +$Math::BigFloat::downgrade = undef; + =head1 INHERITS =over