It is very simple do you no about hexadecimal values.ok cool i will give you a list of hexadecimal values..
Binary------>Hexadecimal
0000-------->0
0001-------->1
0010-------->2
0011-------->3
0100-------->4
0101-------->5
0110-------->6
0111-------->7
1000-------->8
1001-------->9
1010-------->A
1011-------->B
1100-------->C
1101-------->D
1110-------->E
1111-------->F
The above table explains you why 2 called 10 in binary.
I will give you a small example.
Write 2 and 5 in hexadecimal form
In hexa 11 can be written as 1011 this is in binary and in hexa A.
In hexa 15 can be written as 1111 this is in binary and in hexa F.
Now you compare the above table.....
Hope you understand this...If their is any doubts feel free to ask