阅读背景:

[转]Go语言string,int,int64 ,float之间类型转换方法

来源:互联网 

1 正文

(1)int转string

s := strconv.Itoa(i)
等价于s := strconv.FormatInt(int64(i), 10)s := strconv.Itoa(i)



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: