I'm working in C# .Net 5.0, Visual Studio. I'm formatting integers to have zero-padding like so
$"{-1:d04}"
$"{1:d04}"
Formatting positive and negative numbers give different lengths of the resulting strings
-0001
0001
I need my numbers to be the same length (i.e. the result in this example should be the strings "-001" and "0001"), does there exist any formatting pattern to achieve this?