Binary to Decimal

Convert a binary integer to decimal.