CodeMettle interview question

How can you convert a binary number to a decimal?