BitExpand function

Returns a string containing the binary representation in "1"s and "0"s of the given long.

Namespace

logical

Input

number(long)

Output

String

Example

If mynumber contains the number 352, then the following two functions are equivalent, and return the string "101100000".

set-column val logical:BitExpand(352) set-column val logical:BitExpand(mynumber)

 

Created in 2020 by Google Inc.