Integer

Converts a string to an integer variable. Variable content must be a number.

SYNTAX
Integer(valueToConvert) 
ARGUMENTS valueToConvert The variable to convert.

If an empty string is passed as the parameter value, it results in an exception at runtime.

RETURN Integer value of the variable
EXAMPLE
Var = "10" Var = Integer(Var)