If I'm printing a hex value ala...
and it only turns out to be anything from 0 to F, how can I force a leading 0?Code:printf("%x", number)
So it gets printed out as 09, 0F etc.
So it's always 2 bit hex, but shouldn't print out the 0 if it's anything above F (10, 1A, 4F etc.)
I tried %2x, that just seemed to put spaces in. :-\