Integer Conversions: Unicode vs. String Values
Let’s learn about integer conversions.
We'll cover the following...
We'll cover the following...
We can convert an integer value into a string in two main ways: using string() and using a function from the strconv package. However, the two methods are fundamentally different.
Converting from int to string
The string() function converts an integer value into a Unicode code point, which is a single character, whereas functions such as strconv.FormatInt() and ...