Glossary: Coding Interviews in Go
strconv.ParseFloat
Also written: strconv
A Go function that turns text such as `"55.00"` into a `float64`. A bad number returns an error instead of crashing.
Glossary: Coding Interviews in Go
Also written: strconv
A Go function that turns text such as `"55.00"` into a `float64`. A bad number returns an error instead of crashing.