int fmt.Printf("%T"number) // gives type of variable //type conversation var n2 float = 9.8 number = int(n2) // number -> 9, type conversation str := strconv.Itoa(12) // int to string //strconv have all methods to string conversations }"> int fmt.Printf("%T"number) // gives type of variable //type conversation var n2 float = 9.8 number = int(n2) // number -> 9, type conversation str := strconv.Itoa(12) // int to string //strconv have all methods to string conversations }"> int fmt.Printf("%T"number) // gives type of variable //type conversation var n2 float = 9.8 number = int(n2) // number -> 9, type conversation str := strconv.Itoa(12) // int to string //strconv have all methods to string conversations }">
package main
import ("fmt")

func main() {
var number=10
fmt.Println(reflect.TypeOf(number )  //typeof : op -> int
fmt.Printf("%T"number) // gives type of variable 

//type conversation 
var n2 float = 9.8
number = int(n2) // number -> 9, type conversation 
str := strconv.Itoa(12) // int to string
//strconv have all methods to string conversations

}