Convert the Binary number 10100 into Decimal

Convert the Binary number 10100 into Decimal

Explanation

Multiply each digit of the binary number by the corresponding power of two starting from ones.