Function fromBinary( binVal )
- Description:
-
Converts a string representing a binary number to its integer value.
- Parameters:
-
- binVal (String)
- binary representation of value
- Return Value (integer):
- integer value represented by binary string
binVal
- Example:
fromBinary("101010") = 42
- Signature:
- int fromBinary(String)