X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/342c174c0207e8d5d0ea0bd9b5eb7dc17c87d7b2..58b14f96d6a7aab3bad2ffac3f8930793cf15a09:/bin/mozilla/io.pl diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 0fe78fd2a..ae8f500bb 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -254,9 +254,12 @@ sub display_row { qq||; } + (my $qty_dec) = ($form->{"qty_$i"} =~ /\.(\d+)/); + $qty_dec = length $qty_dec; + $column_data{qty} = qq|format_amount(\%myconfig, $form->{"qty_$i"}, 0) + . $form->format_amount(\%myconfig, $form->{"qty_$i"}, $qty_dec) . qq|>|; $column_data{ship} = qq|leave_sub(); }