BIN2HEX

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

Converts a binary number to hexadecimal.

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