Absolute Value

abs( )


The absolute value function calculates the absolute value of what is within its parentheses. If the item is not negative, the item’s value is returned. If the item is negative, the negation of the item is returned. For example, if you enter the number 8:


abs(8)


the result would be 8.


If you enter the number -8:


abs(-8)


the result would be 8.