This function returns the absolute value of the given number. If number >=0 it returns the number, otherwise it returns the number multiplied with -1.
Bash
abs(number) #Output: Number
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns: 2.0 |
|
Bash
|
This example returns: 2.0 |
|
Bash
|
This example returns: 0.0 |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
number |
Any given number or numeric field code. |
Output
This function returns a number
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|