round up
FEEL built-in function · Numeric functions
round up(n, scale?)
Rounds away from zero at the given scale.
Parameters
| Parameter | Type | Description |
|---|---|---|
| n | number | the number to round |
| scale | number | decimal digits to keep (optional, default 0) |
Examples
round up(5.5)
6
Try it →
round up(-5.5)
-6
Try it →
round up(1.121, 2)
1.13
Try it →
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).