Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to understand number systems: (binary and decimal)

How can I convert the following numbers using the least amount of digits:

  1. $(47)\text{base}-10$ to signed binary.

  2. $(-27)\text{base}-10$ to signed and binary magnitude

  3. $(213)\text{base}-16$ to a 10 base number

Here are my try:

  1. $00101111$

  2. $10011011$ (or 2's complement: $11100101$)

  3. $531$

Am I heading right?

share|cite|improve this question
Where is your try, where are the examples...? – DonAntonio Sep 4 '12 at 3:34

These are all correct. For 2, the first is correct according to Wikipedia. Twos' complement is different, which you have also done correctly.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.