golang int'i dizeye dönüştür
str := strconv.Itoa(12)
golang ayrıştırma float64
f, err := strconv.ParseFloat("3.1415", 64)
git tamsayıyı dizeye dönüştür
s := strconv.Itoa(i)
// also
s := strconv.FormatInt(i, 10)
// and also
s := fmt.Sprintf("%d", i)
golang dizeyi ınt64'e dönüştürür
s := "97"
n, err := strconv.ParseInt(s, 10, 64)
if err == nil {
fmt.Printf("%d of type %T", n, n)
}
dizeyi int golang'a dönüştür
var s string
i, err := strconv.Atoi(s)