summaryrefslogtreecommitdiff
path: root/LedgerSMB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB.pm')
-rwxr-xr-xLedgerSMB.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB.pm b/LedgerSMB.pm
index 083ecb8a..6f32167d 100755
--- a/LedgerSMB.pm
+++ b/LedgerSMB.pm
@@ -528,6 +528,7 @@ sub round_amount {
else {
$amount = Math::BigFloat->new($amount)->ffround( -( $places - 1 ) );
}
+ $amount->precision(undef);
return $amount;
}