Parse numeric fields and retain a failure count
strtol
std::from_chars
strconv.ParseInt
NumberFormatException
toIntOrNull and mapNotNull
filter_var and FILTER_VALIDATE_INT
ValueError
grepl and strtoi
Kernel#Integer