Skip to main content



ToInt Function

The ToInt function converts an expression to an integer value.

Syntax

ToInt(expression)

The ToInt function converts an expression to an integer value.

Arguments

expression Expression - The expression to convert.

Remarks

Example:

ToInt("42"); // returns 42