Signature
path=null start=null
Parameters
- binary:
string | number- The binary number to be converted. Can be a string or a number.
Returns
number - The decimal representation of the binary number.
Converts a binary number (as a string or number) to a decimal number.
string | number - The binary number to be converted. Can be a string or a number.number - The decimal representation of the binary number.