Hinoon
0
Q:

golang convert int to string

str := strconv.Itoa(12)
5
s := "97"
n, err := strconv.ParseInt(s, 10, 64)
if err == nil {
    fmt.Printf("%d of type %T", n, n)
}
1

Tags

New to Communities?

Join the community