cancel
Showing results for 
Search instead for 
Did you mean: 

Convert int to string

idrissmc
Associate II

Hi everyone,

I want to convert an integer to string on CubeIDE, how can I do it ?

thanks

1 ACCEPTED SOLUTION

Accepted Solutions

The C library function itoa() should perform the task.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

4 REPLIES 4

Using sprintf()?

JW

It doen’t work

Piranha
Chief II

Advice how to progress faster and not pollute forums - learn C programming first and then come and ask non-trivial and ST product specific questions!

https://www.tutorialspoint.com/cprogramming/

https://www.cprogramming.com/tutorial/c-tutorial.html

The C library function itoa() should perform the task.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..