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

Function

round( number, num_digits )

Rounds off the number to the specified number of digits.

Parameters

Keyword Type Description

number

Decimal

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

Decimal

Usage considerations

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

Examples

round(7.36819) returns 7.37

round(7.36819, 3) returns 7.368

round(7.36819, 4) returns 7.3682

See Also

fixed(): Use this function with round() to display your desired output.

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