I would like to format my integers as strings so that, without the sign, they will be zero-padded to have at least two digits.
For example I want
1
-1
10
-10
to be
01
-01
10
-10
Specifically, I want different minimum string lengths for negative numbers (3) and non-negative numbers (2). Simple number padding as detailed here is insufficient. Is this possible?