roundup( number, num_digits )
Rounds the number up to the specified digit.
Keyword | Type | Description |
---|---|---|
|
Decimal |
The number to be rounded. |
|
Number |
Determines the digit or place to which the number will be rounded up to the nearest 10^(-num_digits). 2 is default. |
Decimal
To round the number up to the nearest hundred, set num_digits equal to -2
.
roundup(7.36819)
returns 7.37
roundup(7.36819, 3)
returns 7.369
roundup(7.36819, 4)
returns 7.3682
fixed(): Use this function with roundup()
to display your desired output.
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 |
roundup() Function