Learn R Programming

broman (version 0.59-5)

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
convert2hex(333)
dec2hex(333)
dec2hex(333) == "14D"
dec2hex(0:30)

Run the code above in your browser using DataLab