The difference of a and b can be calculated by using directly the subtraction operation to the two given variables. In this case, we can use the number line by locating first the places of the numbers and counting the places from b to reach a . The number of places or jumps is the difference. The sign of the difference depends on the signs of a and b is a>b then the difference should be positive; otherwise, the result is negative.