BIN2HEX

BIN2HEX hexadecimal representation of the binary number x

Synopsis

BIN2HEX(x,places)

Arguments

x: a binary number, either as a string or as a number involving only the digits 0 and 1

places: number of digits

Description

If places is given, BIN2HEX pads the result with zeros to achieve exactly places digits. If this is not possible, BIN2HEX returns #NUM!

Microsoft Excel Compatibility

This function is Excel compatible.

See also

HEX2BIN, BIN2OCT, BIN2DEC.