currency() Function

Function

currency( number, decimals )

Converts a decimal number into a generic currency value by effectively adding a generic currency symbol (¤), a decimal point, and one comma for every three digits preceding the decimal.

Parameters

Keyword Type Description

number

Decimal

The number of currency units to be returned as text.

decimals

Decimal

The number of digits after the decimal to display. 2 by default.

Returns

Text

Usage considerations

If no arguments are passed, the generic currency symbol itself (¤) is returned as text.

Examples

currency(3213.43) returns ¤3,213.43

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Partially compatible

Can be used with Appian Portals if it is connected using an integration and web API.

Offline Mobile Incompatible
Sync-Time Custom Record Fields Incompatible
Real-Time Custom Record Fields Incompatible
Process Reports Compatible
Process Events Compatible
Open in Github Built: Fri, Jan 27, 2023 (07:42:54 PM)

On This Page

FEEDBACK