We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I had declared an variablw like below,
unsigned int i;
Normally the data representation may be in either decimal or hexadecimal.
In my project the value of 'i' is decimal i need that unsigned integer of decimal form to hexadecimal.
I coudnt use _toacii function since it is truncating the upper nibble of the decimal int.
Can anybody say is there any way to get the equivalent hex of the original decimal integer.
www.permadi.com/.../
Jon
Thank you.
I know this method to get the hex from dec.
But iam not sure how to combine all the remainders to a single int of hex?
Is there any C code for this?