How to convert integer into hexadecimal value programmatically in iphone
Can anyone help me? Thanks in advance
How to convert integer into hexadecimal value programmatically in iphone
Can anyone help me? Thanks in advance
Here's one way:
int myInteger = 12345;
NSString* myString = [NSString stringWithFormat:@"%x", myInteger];
myString will contain what you've asked for, so it may help to elaborate on how you need to use the result.