Is there a way to set an int to 001
- by H.aLFaRSi
i need to set an integer to start from 001 instead of only 1
int iNumber = 001;
NSLog(@"%d",iNumber); // this is logging 1 instead of 001
is there a possible way to make it 001 ?
[UPDATED]
i need this because i`m creating an NSMutableArray from NSUserDefaults, after that I'm sorting the array using NSSortDescriptor. the problem is because i…