the
bin
of
factor
bin
(
expression )
Factor and expression yield integer
s, number
s, or complex
es.
put bin(6789) into steve
The bin
function converts a real or complex number in decimal, or base ten, to the same number in binary, or base two. For example, bin(42)
gives "101010"
.