Nokia Interview Question

How do we turn binary numbers to decimal?