Fix underflow handling in builtin string to number conversion.