Learn R Programming

broman (version 0.72-4)

convert2hex: Convert decimal to hex

Description

Convert a number to hexidecimal notation.

Usage

convert2hex(d)

Arguments

d

A number.

Value

A character string; the input in hex.

Details

Nothing important to say here.

See Also

hex2dec()

Examples

Run this code
# NOT RUN {
convert2hex(333)
dec2hex(333)
dec2hex(333) == "14D"
dec2hex(0:30)

# }

Run the code above in your browser using DataLab