Click or drag to resize

int.parse Function

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
int.parse Function

The int.parse function converts a given expression to an integer value.

This function can be useful for converting string values to numeric values.

Syntax

Alchemy
int(expr);

Nomenclature

expr Required. An expression to convert to an integer

Returns

An integer value.

Example

Alchemy
PRINT int.parse("3"); /* 3 */

See Also

  • float.parse - convert a given expression to a floating-point value

  • math.round - round a number to the nearest integer