convert2hex: Convert decimal to hex

View source: R/convert2hex.R

convert2hexR Documentation

Convert decimal to hex

Description

Convert a number to hexidecimal notation.

Usage

convert2hex(d)

Arguments

d

A vector of integers (must be < 2^31).

Value

The input in hex, as character strings.

See Also

hex2dec()

Examples

convert2hex(333)
dec2hex(333)
dec2hex(0:30)


kbroman/broman documentation built on Feb. 11, 2024, 7:18 a.m.