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 expressionDescription


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

ParameterInput (data type)Description
number

Any given number or numeric field code.



This function returns a


Use cases and examples




Status
Tech review

Style guide




Parser function cloudabs(number)
Map(tick)
Notes





Short descriptionReturns the absolute value of the input number.
Output

Label