From 4b5c4b5945212fbb022519f3d205d31e07542648 Mon Sep 17 00:00:00 2001 From: Udo Spallek Date: Tue, 15 Nov 2005 16:11:19 +0000 Subject: [PATCH] Bug Rundungsfehler bei Ustva Ausgabe --- SL/RP.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1