tointeger() Function
This function may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.

Function

tointeger( value )

Converts a value to Integer.

Parameters

Keyword Type Description

value

Any Type

Value to convert.

Returns

Integer

Usage considerations

Using the value parameter

The value parameters also accept decimal numbers, which get rounded.

Values passed must remain within the limits of the Integer data type.

Using tointeger() with arrays

When operating on arrays, it is not necessary to use apply with tointeger. If multiple parameters are passed, or one parameter is an Array, tointeger will return an Integer Array.

Examples

tointeger("3") returns 3

tointeger("3","4") and tointeger({"3","4"}) both return {3,4}

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Compatible
Open in Github Built: Fri, Aug 12, 2022 (10:01:45 AM)

On This Page

FEEDBACK