powered by
The function int2bin converts integers to binary coded numbers.
int2bin(int, m)
Input number (integer)
Number of the digits of output value.
Returns the binary coded number of the integer number given in the input.
int2bin
# NOT RUN { int2bin(250) # returns 11111010 int2bin(250, 9) # returns 011111010 # }
Run the code above in your browser using DataLab