Functions

bin

Supported By

Syntax

[the] bin of factor

bin ( expression )

Factor and expression yield integers, numbers, or complexes.

Example

put bin(6789) into steve

Description

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

Synonym

decbin

See Also

bindec, bc, hex, oct