Nokia interview question

How do we turn binary numbers to decimal?