package main import ( "fmt" "strconv" ) func main() { // 将字符串转成整型 s := "666" sInt,err := strconv.Atoi(s) if err == nil {
確定! 回上一頁