Converting an Int to a String
·
83 words
·
1 minute read
This is a short example on how to convert an integer number into a string. This is a common use case when printing to screen or working with the number as if it was a string. To do this we use the strconv
package and the Itoa
function.
|
|