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.
Syntax
abs(number) #Output: Number
Use cases and examples
Use case |
---|
No content found. |
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.
abs(number) #Output: Number
Parser expression | Description |
---|---|
abs(2) | This example returns: 2.0 |
abs(-2) | This example returns: 2.0 |
abs(0) | This example returns: 0.0 |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
number | NUMBER | Any given number or numeric field code. |
This function returns a NUMBER
Use case |
---|
No content found. |
Powered by Atlassian Confluence 8.5.12, themed by Refined 7.6.0 and Decadis AG