integer to string

Sep 14, 2009 at 8:58pm
how do i write an integer value to a string , and specify the number of characters, and the data to be in hex?

so , if i have

x = 25;

i want to write it to a string, as
19

or if i have x = 5, i want to write to string as 05 (not just 5).


will itoa do this job?
Sep 14, 2009 at 9:05pm
Last edited on Sep 14, 2009 at 9:06pm
Sep 14, 2009 at 9:10pm
Topic archived. No new replies allowed.