Skip to content

Instantly share code, notes, and snippets.

@aszx87410
Created August 7, 2015 02:00
Show Gist options
  • Save aszx87410/c74f87d16d91f13e794c to your computer and use it in GitHub Desktop.
Save aszx87410/c74f87d16d91f13e794c to your computer and use it in GitHub Desktop.
Hello!
<h2 id="10進位">10進位</h2>
<p>20 = 2*10<sup>1</sup> + 0*10<sup>0</sup> <br>
25 = 2*10<sup>1</sup> + 5*10<sup>0</sup> <br>
234 = 2*10<sup>2</sup> +3*10<sup>1</sup> + 4*10<sup>0</sup></p>
<h2 id="2進位">2進位</h2>
<p>1 <br>
10 <br>
11 <br>
100 <br>
101 <br>
110 <br>
111</p>
<p>111 = 1*2<sup>2</sup> +1*2<sup>1</sup> + 1*2<sup>0</sup> = 7 <br>
10000 = 2<sup>4</sup> = 16</p>
<h2 id="16進位">16進位</h2>
<p>8 <br>
9 <br>
A <br>
B <br>
C <br>
D <br>
E <br>
F <br>
10</p>
<p>10 = 1*16<sup>1</sup> +0*16<sup>0</sup> = 16 <br>
3F = 3*16<sup>1</sup> +15*16<sup>0</sup> = 63</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment