compare floats instead of strings