The DIM(a1,a2) function calculates the positive difference of the instantaneous values of two expressions a1 and a2.
DIM(a1,a2) = 0 if a1 ≤ a2
DIM(a1,a2) = a1-a2 if a1 > a2
Arguments
a1 |
Any valid function expression.
|
a2 |
Any valid function expression. |
Cautions
DIM is a discontinuous function, so use it with caution.