how to create float variables in go code example Example: how to declare a float in golang var num float64 = 1.5