Page 1 of 1

Convert from int to string

PostPosted: Wed Aug 15, 2007 2:36 pm
by motorollin
How can I convert an integer variable to a string variable?

PostPosted: Wed Aug 15, 2007 9:53 pm
by metal_pt
Just use
Code: Select all
sprintf(stringvar,"%d",intvar);

PostPosted: Thu Aug 16, 2007 9:07 am
by motorollin
Thank you!

PostPosted: Thu Aug 16, 2007 7:54 pm
by metal_pt
No prob, glad I could Help :) !!!