Learn R Programming

broman (version 0.84)

convert2hex: Convert decimal to hex

Description

Convert a number to hexidecimal notation.

Usage

convert2hex(d)

Value

The input in hex, as character strings.

Arguments

d

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

See Also

hex2dec()

Examples

Run this code
convert2hex(333)
dec2hex(333)
dec2hex(0:30)

Run the code above in your browser using DataLab