I need to convert an int32
to string
in Golang. Is it possible to convert int32
to string
in Golang without converting to int
or int64
first?
Itoa
needs an int
. FormatInt
needs an int64
.
I need to convert an int32
to string
in Golang. Is it possible to convert int32
to string
in Golang without converting to int
or int64
first?
Itoa
needs an int
. FormatInt
needs an int64
.
我需要在Golang中将 int32 code>转换为
string code> 。 可以在Golang中将
int32 code>转换为
string code>而不先转换为
int code>或
int64 code>吗? p>
Itoa code>需要一个
int code>。
FormatInt code>需要一个
int64 code>。 p>
div>