to_int() function

Converts a string to integer number. Nothing changed if a value cannot be converted to integer (e.g '123asd' is invalid).

Syntax

to_int(string)

Arguments

string → is string. The String to convert to integer number.

Example

to_int('123') → 123