Gnoseed
Programming · Flashcard

What is the difference between an integer and a real number in Go?

Why this is the answer

Go is strictly typed: operations between int and float64 require explicit conversion, e.g. float64(age). There is no implicit numeric conversion.

Read more in the docs
Study in Gnoseed →