If a variable doesn’t have an explicit type, Go will infer float64 for numbers containing exponents.

This example shows how to use scientific notation to declare int types.

How to compare two slices in Go

To minimize rounding errors, perform multiplication before division. The result tends to be more accurate that way.