To convert from a binary number or a number based on other than 10 to a number based on 10 (decimal), all you have to do is multiply each digit of the number by the power of 0, 1, 2, 4, etc., from the base starting from the far right.
Example :
101102 = …….10 ?
101102 = + 1×24 + 0x23 +
1×22 + 1×21 + 0x20 = 16 + 0 + 4 + 2 + 0 = 2210
Tidak ada komentar:
Posting Komentar