Base 36 To Hexadecimal

Convert numbers from base 36 to hexadecimal (base 16).




NAN

Reverse Conversion

Hexadecimal to Base 36

How This Converter Works

Converts a signed base-36 integer to uppercase hexadecimal.

Formula or rule

Remove whitespace and underscores, validate an optional sign followed by base-36 digits, evaluate the integer in base 36, and format it in base 16 with uppercase letters.

Example

Input
19
Calculation
1×36 + 9 = 45 = 2×16 + 13; hexadecimal digit 13 is D.
Result
2D