Undefined: float

can any help me out with this “undefined: float”
even after defining the float value

Can you show us the code where you’re getting this error? Otherwise, we have to make guesses which may or may not help you. For example, there is no “float” type in Go, just float32 and float64. I don’t know if that’s relevant or not without seeing your code, though.

yes sir had been missing the float64

Thank you sir