From: Udo Spallek Date: Tue, 15 Nov 2005 16:11:19 +0000 (+0000) Subject: Bug Rundungsfehler bei Ustva Ausgabe X-Git-Tag: release-2.4.0^2~462 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4b5c4b5945212fbb022519f3d205d31e07542648;p=kivitendo-erp.git Bug Rundungsfehler bei Ustva Ausgabe --- diff --git a/SL/RP.pm b/SL/RP.pm index 89a11b368..5bc2b4e3d 100644 --- a/SL/RP.pm +++ b/SL/RP.pm @@ -2557,12 +2557,12 @@ sub ustva { foreach $item (@categories_cent) { $form->{$item} = - $form->format_amount($myconfig, $form->round_amount($form->{$item}, 2)); + $form->format_amount($myconfig, $form->round_amount($form->{$item}, 2), 2, '0'); } foreach $item (@categories_euro) { $form->{$item} = - $form->format_amount($myconfig, $form->round_amount($form->{$item}, 0)); + $form->format_amount($myconfig, $form->round_amount($form->{$item}, 0), 0, '0'); } $dbh->disconnect;