parseNumber

Parse numbers from strings using character codes.