1
I have to send a file to a financial server, there they accept the file if it has the name formatted correctly.
The rules for formatting are:
20190615-000000001.csv
Where the first part is the date the file was generated, and the second part is Sequential File Number formatted with 9 digits (this number must evolve from 1 in 1 for each generated file).
The problem is, that when I give an integer (because it needs to be incremented), and then I turn it into a string to go to the file name, it only prints one digit 0, I have to print all.
I want to know how to print all digits of 0.
To reopen the question put the code fragment that generates this behavior. From reading the question I imagine several possibilities, so it is impossible to give an answer being a shot in the dark hit your situation.
– Augusto Vasques