Skip to content

Glossary: Data Structures and Algorithms in Go

strconv.Atoi

Also written: Atoi, strconv

A Go function that converts text such as "30" into the whole number 30.

Where the book teaches it

Related terms

strings.Cut