Converts a binary number (as a string or number) to a decimal number.
The binary number to be converted. Can be a string or a number.
The decimal representation of the binary number.
Converts a binary number (as a string or number) to a decimal number.