toint function

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

Syntax

toint(string)

Arguments

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

Example

toint('123') → 123