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

Function

todecimal( value )

Converts a value to Decimal (double precision floating point).

Parameters

Keyword Type Description

value

Any Type

Value to convert.

Returns

Decimal

Usage considerations

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

Examples

todecimal("3.6") returns 3.6

todecimal("3.6", "4.2") and todecimal({"3.6", "4.2"}) both return {3.6,4.2}

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