Print errno if it is set during string to number conversion