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.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Converts a binary number (as a string or number) to a decimal number.
binaryToDecimal(binary: string | number): number
string | number - The binary number to be converted. Can be a string or a number.number - The decimal representation of the binary number.