return NaN instead of false for non-numbers