Answers for "go type conversion"

Go
0

go type conversion

var i int = 42
var f float64 = float64(i)
var u uint = uint(f)

// alternative syntax
i := 42
f := float64(i)
u := uint(f)
Posted by: Guest on January-12-2021

Code answers related to "go type conversion"

Browse Popular Code Answers by Language