Free cookie consent management tool by TermsFeed

round() Function

On This Page

Rounds off the number to the specified number of digits.

Parameters

round( number, num_digits )

Keyword Type Description

number

Number (Decimal Floating)

The number that will be rounded.

num_digits

Integer

Determines the digit or place to which the number will be rounded to the nearest 10^(-num_digits). 2 is default.

Returns

Number (Decimal Floating)

Using the function

To round the number to the nearest hundred, set num_digits to -2.

Use a!fixed() with round() to display your desired output.

Examples

round(7.36819) returns 7.37

round(7.36819, 3) returns 7.368

round(7.36819, 4) returns 7.3682

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
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.

Feedback