Free cookie consent management tool by TermsFeed

a!power() Function

On This Page

Returns the base number raised to the specified exponent.

Parameters

a!power( base, exponent )

Keyword Type Description

base

Any Type

The base for exponentiation.

exponent

Number (Integer)

The power that the base will be raised to.

Returns

Number (Decimal Precise) or Number (Decimal Floating)

When any input is a Number (Decimal Floating) value, a!power() returns a Number (Decimal Floating) value. Otherwise, the function returns a Number (Decimal Precise) value, including when all inputs are integers.

Using the function

The following sections cover important details about the a!power() function.

Supported numeric types

The a!power() function accepts Number (Integer), Number (Decimal Precise), and Number (Decimal Floating) values in the base and exponent parameters.

Example

The following example demonstrates the a!power() function.

a!power(1.2,3) returns 1.728

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Incompatible
Offline Interfaces Compatible
Sync-Time Custom Record Fields Compatible

Can be used to create a custom record field that only evaluates at sync time.

Real-Time Custom Record Fields Incompatible

Custom record fields that evaluate in real time must be configured using one or more Custom Field functions.

Process Reports Compatible
Process Events Compatible

Can be used to configure a process event node, such as a start event or timer event.

Process Autoscaling Compatible

Can be used in autoscaled processes.

Event Consumer Filter Conditions Compatible

Can be used in filter conditions.

Event Consumer Event Handlers Compatible

Can be used in event handler expressions.

Old versions

There are older versions of this function . You can identify older versions by looking at the name to see if there is a version suffix. If you are using an old version, be sure to refer to the corresponding documentation from the list below.

Old Versions Reason for Update
power_26r9

Accepts parameter values of type Number (Decimal Precise) and returns a Number (Decimal Precise) value.

To use the latest version of the function, replace the function with a version suffix with a new function reference.

To learn more about how Appian handles this kind of versioning, see the Function and Component Versions page.

Feedback