Commit 86051c16 authored by Nigel Kukard's avatar Nigel Kukard

Fixed decimal place and rounding

parent 6c3f2225
......@@ -233,7 +233,7 @@ sub loadFile
$line_current++;
# Grab percent done
my $percent_done = sprintf('%5.1f',floor(($line_current / $line_total) * 100));
my $percent_done = sprintf('%5.1f',floor(($line_current / $line_total) * 1000) / 10);
# If its changed, output and save
if ($percent_done ne $percent_last) {
print($OUT " Progress: $percent_done\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment