Integers
Absolute Value
The absolute value |x| is the distance from x to zero on the number line. It is always non-negative. Absolute value applies independently before other operations.
absolute-value
The absolute value of x, written |x|: - |x| = x if x >= 0 - |x| = -x if x < 0 For an expression |a - b|: compute a - b first, then take the absolute value of the result.