# Issue

*This Content is from Stack Overflow. Question asked by Roe *

I’m having some difficulty understanding how I would go about doing this. I’ve been given some binary numbers to convert to decimal with the question saying:

Convert the 2’s complement numbers below to decimal

#1 : 1001

#2 : 0010

For #1 I know you would just take the 2’s complement to find the magnitude because the 1 indicates it’s negative. So it would really be 0111 or -7. What I’m having trouble with is if I should do the same process with #2. It’s not negative so I don’t know if the problem wants me to instead take the 2’s comp or if the decimal would just be 2?

# Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.