Absolute value
In mathematics, the absolute value or modulus of a real number x {\displaystyle x} , denoted | x | {\displaystyle |x|} , is the (non-negative) magnitude of x {\displaystyle x} measured without regard to its sign. Namely, | x | = x {\displaystyle |x|=x} if x {\displaystyle x} is a positive number, and | x | = − x {\displaystyle |x|=-x} if x {\displaystyle x} is negative (in which case − x {\displaystyle -x} is positive), and | 0 | = 0 {\displaystyle |0|=0} .