Filename-formatting
This commit is contained in:
parent
ec6725a5c5
commit
9301e948b0
@ -128,7 +128,7 @@ public class Server
|
|||||||
{
|
{
|
||||||
Pathfinder testresult = new Pathfinder(rm, priority, angle).AStar(start,
|
Pathfinder testresult = new Pathfinder(rm, priority, angle).AStar(start,
|
||||||
finish, Tag.SpeedType.car);
|
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));
|
testresult.SaveResult(Path.Join(parentFolder, fileName));
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user