Parsing numbers using sscanf.