Bitwise Operation: Quickly Convert Binary Bit to Integer and vice versa using Javascript Shell
convert integer to binary bit string
num = 1024 num.toString(2)
convert binary bit string to integer
parseInt('111', 2)
DZone Snippets > agilekai > shell
12114 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
num = 1024 num.toString(2)
parseInt('111', 2)