Compare float by using eq instead of be