The DTR command converts a decimal number to hexadecimal (root).
Format
DTR n |
Parameter(s)
n |
Decimal number to be converted. |
Description
Precede negative decimal numbers with a minus sign. Hexadecimal numbers are negative in the range X’FFFFFFFFFFFF (-1) to X’800000000001 (-140,737,488,355,327).
To convert hexadecimal numbers to decimal, use the RTD command. DTX is a synonym for the DTR command.
NOTE |
Do not confuse the DTR command with the DTR (Data Terminal Ready) parameter specified by the PROTOCOL command. |
Converting Decimal Numbers to Hexadecimal
To convert 90 to hexadecimal, enter:
>DTR 90 5A |