Click or drag to resize

int32 Function

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

The int32 function converts a given expression to a 32-bit integer value.

Syntax

Alchemy
int32(expr);

Nomenclature

expr Required. An expression to convert to an integer

Returns

A 32-bit whole-number integer value.

Example

Alchemy
$myInt = int(3.1416);
$myInt32 = int32($myInt)