Answers for "string is number go"

Go
0

golang string is digit

if _, err := strconv.Atoi(v); err == nil {
    fmt.Printf("%q looks like a number.\n", v)
}
Posted by: Guest on August-20-2020

Browse Popular Code Answers by Language