mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-09 02:16:46 +00:00
Fix test program output
This commit is contained in:
@@ -97,7 +97,7 @@ namespace BurnOutSharp
|
||||
}
|
||||
|
||||
// Checkpoint
|
||||
progress?.Report(new FileProtection(file, i / files.Count(), contentProtection));
|
||||
progress?.Report(new FileProtection(file, i / (float)files.Count(), contentProtection));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace Test
|
||||
|
||||
private static void Changed(object source, FileProtection value)
|
||||
{
|
||||
Console.WriteLine($"{value.Percentage * 100}: {value.Filename} - {value.Protection}");
|
||||
Console.WriteLine($"{value.Percentage * 100:N2}%: {value.Filename} - {value.Protection}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user