StrToInt

Description

Returns the integer value of the specified string. Returns zero (0) for a space or blank string.

If the specified string does not represent an integer number, an error is returned.

Syntax

StrToInt(String: String): Integer 

String is the string value on which to perform the function.

Example

StrToInt(101)

The return value is 101.