The dtx command converts a given decimal (integer) number to its corresponding hexadecimal equivalent.
dtx number