Learn R Programming

broman (version 0.84)

hex2dec: Convert from hex to decimal

Description

Convert a number from hexidecimal to decimal notation.

Usage

hex2dec(h)

Value

The input converted from hexadecimal to decimal notation.

Arguments

h

Vector of character strings with hexadecimal representation of integers (values >= 2^31 converted to missing, NA)

Author

Karl W Broman, broman@wisc.edu

See Also

dec2hex()

Examples

Run this code
hex2dec("14D")
hex2dec(0:30)

Run the code above in your browser using DataLab