integer to string

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?
Last edited on
Topic archived. No new replies allowed.