summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Template.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/LedgerSMB/Template.pm b/LedgerSMB/Template.pm
index aff967a0..0c396ac6 100755
--- a/LedgerSMB/Template.pm
+++ b/LedgerSMB/Template.pm
@@ -205,8 +205,9 @@ sub _preprocess {
if (UNIVERSAL::isa($vars, 'Math::BigFloat')){
$vars =
LedgerSMB::format_amount('LedgerSMB',
- {amount => $vars.
- user => $self->{myconfig} });
+ amount => $vars,
+ user => $self->{myconfig},
+ precision => 2);
}
my $type = ref($vars);