IntToBin2 converts an Integer value into a String of binary digits (i.e. a series of 0's and 1's).
The number of binary digits is not specified.
The resulting string will be the smallest multiple of 8 characters that can contain the binary representation - padded with leading zeroes.
Also refer to IntToBin.
Declaration: Function IntToBin2( v : LongInt) : string
For example, IntToBin2(257) generates 0000000100000001.