Reject a mistyped order quantity
strtol
std::from_chars
strconv.ParseInt
NumberFormatException
toIntOrNull and mapNotNull
filter_var and FILTER_VALIDATE_INT
grepl and strtoi
Kernel#Integer
StringOps.toIntOption