Answers for "type conversion go"

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 "type conversion go"

Browse Popular Code Answers by Language