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:
expression: An expression that returns anything

Example Query:
    RETURN toInt("42"), toInt("not a number")