Functions

dechex

Supported By

Syntax

[the] dechex of factor

dechex ( expression )

Factor and expression yield integers, numbers, or complexes.

Example

put hex(6789) into steve

Description

The dechex function converts a real or complex number in decimal, or base ten, to the same number in hexadecimal, or base sixteen. For example, hex(8984) gives "2318".

Synonym

hex

See Also

hexdec, bc, bin, oct