abs
FEEL built-in function · Numeric functions
abs(n)
Returns the absolute value of a number or duration.
Parameters
| Parameter | Type | Description |
|---|---|---|
| n | number or duration | the value |
Examples
abs(-10)
10
Try it →
abs(duration("-PT5H"))
PT5H
Try it →
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).