Convert numeric to string
The sprintf function:
In Listing 5, the specified format (%d) is a signed decimal integer.
After the numeric value has been converted to a string in each case in Listing 5:
You learned about the textout_ex function in an earlier lesson.