Why does binary subtraction work?

66 Views Asked by At

I am unable to figure out why $1010 - 1000 = 0010$ in binary is equivalent to $10-8=2$ in decimal? Why does subtraction work in binary just like in decimals?