DEC2HEX

DEC2HEX hexadecimal representation of the decimal number x

Synopsis

DEC2HEX(x,places)

Arguments

x: integer

places: number of digits

Description

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

Microsoft Excel Compatibility

This function is Excel compatible.

See also

HEX2DEC, DEC2BIN, DEC2OCT.