I wan to make an invoice app.
The number of each document should be like this:
0000000001
0000000023
What is written in Stack-overflow doesn't work for me:
The number of each document should be like this:
0000000001
0000000023
What is written in Stack-overflow doesn't work for me:
Code:
NSString *myString = [[NSString alloc] initWithFormat:@"%05d", 5];
[_documentNumber setStringValue:myString];