mround() Function

Function

mround( number, multiple )

Rounds the number to the specified multiple.

Parameters

Keyword Type Description

number

Decimal

The number that will be rounded.

multiple

Decimal

The multiple to which you want to round the number.

Returns

Integer

Usage considerations

If the nearest lower multiple is as far away as the nearest higher multiple, the number will be rounded up.

Examples

mround(63,8) returns 64

See Also

fixed(): Use this function with mround() 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
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
Process Reports Compatible
Process Events Compatible
Open in Github Built: Thu, Feb 02, 2023 (10:02:24 PM)

On This Page

FEEDBACK