Calculate difference between two numbers