Fix number conversion.