如何在Golang中将大整数转换为字符串(或整数)?
bigint := big.NewInt(123) //This is what I have bigstr = "123" //This is what I want
只需使用以下String方法:http : //golang.org/pkg/math/big/#Int.String
String
bigint := big.NewInt(123) bigstr := bigint.String()