BitCompress function
BitCompress function
Returns the integer
made from the string argument, which contains a binary representation of "1"s
and "0"s
.
Namespace
logical
Input
String
Output
number(long)
Example
If mynumber
contains the string "101100000"
, then the following two functions are equivalent, and return the number 352
.
set-column val logical:BitCompress("101100000")
set-column val logical:BitCompress(mynumber)
, multiple selections available,
Related content
BitXor function
BitXor function
More like this
BitOr function
BitOr function
More like this
Logical Bitwise functions
Logical Bitwise functions
More like this
SetBit function
SetBit function
More like this
BitExpand function
BitExpand function
More like this
Square function
Square function
More like this
Created in 2020 by Google Inc.