Bug Rundungsfehler bei Ustva Ausgabe
authorUdo Spallek <info@wissensvermittlung.com>
Tue, 15 Nov 2005 16:11:19 +0000 (16:11 +0000)
committerUdo Spallek <info@wissensvermittlung.com>
Tue, 15 Nov 2005 16:11:19 +0000 (16:11 +0000)
SL/RP.pm

index 89a11b3..5bc2b4e 100644 (file)
--- 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;