Parse a whole quantity field without exceptions
strtol
strconv.ParseInt
NumberFormatException
toIntOrNull and mapNotNull
filter_var and FILTER_VALIDATE_INT
ValueError
grepl and strtoi
Kernel#Integer
StringOps.toIntOption