[Golang] Type Conversion between String and Integer


Example of Go type conversion (type casting) between string and integer (int64).

Problem

Assume we have the following variable of type string:

intNum := "100"

We will multiply the intNum by 2, convert the result back to string.