package main import ( "fmt" "strconv" ) func main() { var a int = 65 b := strconv.Itoa(a) a, _ = strconv.Atoi(b) fmt.Println(a) }
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/16213.html
package main import ( "fmt" "strconv" ) func main() { var a int = 65 b := strconv.Itoa(a) a, _ = strconv.Atoi(b) fmt.Println(a) }
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/16213.html