Skip to main content
idrissmc
Associate III
July 9, 2019
Solved

Convert int to string

  • July 9, 2019
  • 3 replies
  • 6113 views

Hi everyone,

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

thanks

This topic has been closed for replies.
Best answer by Tesla DeLorean

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

3 replies

waclawek.jan
Super User
July 9, 2019

Using sprintf()?

JW

idrissmc
idrissmcAuthor
Associate III
July 9, 2019

It doen’t work

Piranha
Principal III
July 9, 2019

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

Tesla DeLorean
Guru
July 9, 2019

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

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