BIN2OCT

BIN2OCT(arg1, arg2) → { number | string | boolean }

Converts a binary number to octal.

Parameters:

Name Type Description
arg1 any

Is the binary number you want to convert.

arg2 any

Is the number of characters to use.

Returns:

Type
number | string | boolean