|
The absolute value (or modulus) of a real number is its numerical value without regard to its sign. So, for example, 10 is the absolute value of both 10 and -10.
The absolute value or magnitude of 0 is 0.
The absolute value or magnitude of a negative number say -11 is +11.
|a| = { a when a > 0, and -a when a < 0.
If you consider a number line, the absolute value of a real number gives its distance to 0.

The distance of X from 0 is 4 and the distance of Y from 0 is 3
Examples
| |-2| = 2 |
| 8 - 2| = 6 |
| |7 - (-2)| = |7 + 2| = 9 |
|5 - 7| = |-2| = 2 |
| | - 3 - 4| = |-7| = 7 |
5 * |-5| = 5 * 5 = 25 |
| |
|
|