Is it possible to format only a certain amount of digits from an integer when formatting into a string? Like you could with a float e.g "%.5f"?
Lets say the integer is 12345678. Formatting that into 4 digits should turn it into 1234. While if my number was 23, it would be formatted as 0023. I know you can do the latter by doing "%04i".