fromBinary
Description
Returns an integer value of the binary formatted string argument . Numbers outside of the range (-2 31 ) - (2 31 -1), and strings that are not binary numbers, return null.
Syntax
fromBinary( string )
Examples
fromBinary("1111") //returns 15 fromBinary("-1111") //returns -15