c integer to string
int numToConvert = *your number*; // calculate the length of the resulting string int ENOUGH = malloc(sizeof(char)*(int)log10(numToConvert)); char str[ENOUGH]; sprintf(str, "%d", 42); // str contains the number in string form
Source: stackhttps
c int to string
int i = 69; char str[256]; itoa(i,str,10); //Base 10 //str = "69"
objective c convert int to string
NSString* myNewString = [NSString stringWithFormat:@"%d", myInt];