]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Form.pm
Leeren String auch als "nicht gesetzt" deuten.
[mfinanz.git] / SL / Form.pm
index 44d857c8658ce48fa26ed4cd1fdf04745f156cc4..95cd80e8e7f56a82130f12e2cbbffafb875ca477 100644 (file)
@@ -653,7 +653,7 @@ sub format_amount {
   }
   my $neg = ($amount =~ s/-//);
 
-  if (defined($places)) {
+  if (defined($places) && ($places ne '')) {
     if ($places < 0) {
       $amount *= 1;
       $places *= -1;