TOHEX

Syntax

TOHEX (number)

Description

Converts an Int64 to a hexadecimal string.

Arguments

number Int64 to convert.

Returns

Returns a hexadecimal string.

Remarks

If number is nonnumeric, TOHEX returns a record error.

The maximum integer value is 9,223,372,036,854,775,807 which is 0x7FFFFFFFFFFFFFFF. This is an Int64.

The minimum integer value is -9,223,372,036,854,775,808 which is 0x8000000000000000.

Example

TOHEX(100)

Returns: 64

TOHEX(-54)

Returns: FFFFFFFFFFFFFFCA

Related Topics

Data Conversion

FROMHEX