Convert a double or integer to hex

as_hex(x)

Arguments

x

The integer or double vector to convert

Value

Character string with the hex value

Details

Converts a double or integer to hex. Contrary to the built-in format, this is done without any conversion of integers in double-format to integers in integer format.

Author

Holger Hoefling