```
var a int = 65
b := strconv.Itoa(a)
fmt.Println(b)
//65 正确输出
// 下面的代码开始出错
a = strconv.Atoi(b)
fmt.Println(a)
// # command-line-arguments
// ./4.go:14:18: multiple-value strconv.Atoi() in single-value context
```
有疑问加站长微信联系(非本文作者)
![](https://static.golangjob.cn/static/img/footer.png?imageView2/2/w/280)