int to int64 golang
s := "97"
n, err := strconv.ParseInt(s, 10, 64)
if err == nil {
fmt.Printf("%d of type %T", n, n)
}
4.29
7
var i int = 32
j := int64(i)
Thank you!
7
0
Are there any code examples left?
New code examples in category Other