Binary to Decimal

Convert a binary value to its decimal equivalent.

Inputs

Formula
Decimal = Σ(bit × 2^n)
  • b — binary bits