Checking a value makes it zero

I’d try converting to a float earlier on