Description Usage Arguments Value See Also Examples
These functions convert between binary numbers (as numeric vectors) and decimal numbers.
1 2 |
bin |
numeric vector of 0s and 1s representing the number in binary format |
dec |
numeric non-negative scalar, decimal number to be converted |
For b2d
the decimal number representing the binary input. For
d2b
the numeric vector representing the decimal as binary number:
sequence of 0s and 1s.
bin2dec
and dec2bin
for more
user friendly interface.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.