Use size_t for number of digits in scanner