The absolute value of a number is its distance from zero on the number line, always expressed as a non-negative value.
Formula
|x| = x if x ≥ 0, else −x