base 2 --> 10 = value 2
base 10 --> 10 = value 10
base 16 --> 10 = value 16

is this what you mean?