The absolute value returns the distance from zero of the input.
Name | Description |
---|---|
x | A number |
The absolute value function returns the distance from zero of the input number. For example, the absolute value of is equal to .
We also express the absolute value of a number with vertical bars on either side of the expression. This notation is same as calling the absolute value function.
The sign function returns the sign of the number.