Binary to Decimal Converter

basic

Convert binary numbers to decimal.

Formula

decimal = sum(bits x 2^n)