Filename-formatting

This commit is contained in:
glax 2023-04-23 15:09:04 +02:00
parent ec6725a5c5
commit 9301e948b0

View File

@ -128,7 +128,7 @@ public class Server
{
Pathfinder testresult = new Pathfinder(rm, priority, angle).AStar(start,
finish, Tag.SpeedType.car);
string fileName = $"angle{angle:0.000}_level{priority:0.000}.result";
string fileName = $"angle{angle:00}_level{priority:0.000}.result";
testresult.SaveResult(Path.Join(parentFolder, fileName));
}));
}