Learn R Programming

hdf5r (version 1.3.3)

as_hex: Convert a double or integer to hex

Description

Convert a double or integer to hex

Usage

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.