]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Form.pm
SL::Form::format_amount formatiert Zahlen auch aus der Exponentialschreibweise.
[mfinanz.git] / SL / Form.pm
index 70d3a655040f5c8fcd7fdb89454f55deb63ed063..2f4283359dff5766ad19f519f7688a23a3e7da12 100644 (file)
@@ -871,6 +871,8 @@ sub format_amount {
     $amount = 0;
   }
 
+  $amount *= 1;
+
   # Hey watch out! The amount can be an exponential term like 1.13686837721616e-13
 
   my $neg = ($amount =~ s/^-//);