Absolute difference (source code)

= Absolute difference
{wiki=Absolute_difference}

The absolute difference between two numbers is the non-negative difference between them, regardless of their order. It is calculated by taking the absolute value of the difference between the two numbers.