Absolute value is the nonnegative magnitude of a real number. It is written |x| and reflects distance from zero. Comparing absolute values is therefore a way to compare sizes while disregarding direction.
For example, |-12| = 12 and |8| = 8, so the negative quantity has the larger magnitude, despite being the smaller number in ordinary signed ordering. This difference between signed ordering and magnitude ordering is important. As ordinary real numbers, -12 < 8.
But when the comparison concerns distance from zero, 12 > 8. Neither ordering is wrong; they answer different questions. When comparing deviations from a target, the first step is to establish a signed difference.
Suppose d = actual - target. A positive d means the actual value exceeds the target, and a negative d means it falls below the target. Taking |d| reports the amount of separation without identifying which side the actual value occupies.
For instance, two observations might produce deviations of -4 and +7. Their absolute values are 4 and 7, so the second deviation is larger in magnitude. By contrast, deviations of -7 and +7 have equal magnitudes.
Absolute value can distinguish these sizes but cannot classify either deviation as favorable or unfavorable without a defined objective. Decision thresholds introduce a separate comparison. If an acceptable absolute deviation is at most 5 units, the criterion is |d| <= 5.
A deviation of -4 passes that mathematical criterion because |-4| = 4. A deviation of +7 fails because |7| = 7. The threshold is an external requirement, not something generated by the absolute-value operation.
It is also necessary to distinguish absolute difference from percentage change. If a budget is 200 currency units and actual spending is 171.50, the signed difference actual minus budget is -28.50 currency units. Its absolute value is 28.50 currency units. A relative deviation would require dividing by a specified baseline, so the absolute magnitude alone is not a percentage.
Beware of losing direction before recording it. Two opposite deviations can produce the same absolute value, but one may represent an overrun and the other an underrun. Their practical consequences could be very different.
The real-number mathematical rules described here are independent of user-interface details. The available catalog does not verify whether a particular engine evaluates arithmetic expressions, accepts currency symbols, or applies any tolerance comparison automatically.