function toInt(expression)
toInt() converts the argument to an integer. A string is parsed as if it was an integer number.
If the parsing fails, NULL will be returned. A floating point number will be cast into an integer.
Arguments:
RETURN toInt("42"), toInt("not a number")