Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ulbador

macrumors 68000
Original poster
Feb 11, 2010
1,554
0
Is there a way to auto-pad this?

Code:
int checksum = 15;
[NSString stringWithFormat:@"%X",checksum];

This comes out to be "0F" in hex. But as is, it just returns "F".
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.