Functions

decbin

Supported By

Syntax

[the] decbin of factor

decbin ( expression )

Factor and expression yield integers, numbers, or complexes.

Example

put bin(6789) into steve

Description

The decbin 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".

Synonym

bin

See Also

bindec, bc, hex, oct