It would be fine for me if the code below returned true. Since it has not, what are the best uses for this feature? What am I missing?
a := 10.52i
b := 10i
fmt.Println(a == b)
//false
It would be fine for me if the code below returned true. Since it has not, what are the best uses for this feature? What am I missing?
a := 10.52i
b := 10i
fmt.Println(a == b)
//false
Based on @Tashi, @Arkku and @axiac's comments, I realized that I am missing Math knowledge to understand this feature.