mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SimpleSort, Logger] Even more versitile output
This commit is contained in:
@@ -360,7 +360,7 @@ namespace SabreTools
|
||||
bool success = true;
|
||||
|
||||
// Get the full path of the input for movement purposes
|
||||
string percentage = Math.Round((100 * ((double)index / total)), 2, MidpointRounding.AwayFromZero).ToString();
|
||||
string percentage = (index == 0 ? "0.00" : Math.Round((100 * ((double)index / total)), 2, MidpointRounding.AwayFromZero).ToString());
|
||||
string statement = percentage + "% - " + input;
|
||||
_logger.ClearBeneath(_cursorTop + 1);
|
||||
_logger.Log(statement, _cursorTop, 0);
|
||||
|
||||
Reference in New Issue
Block a user