# DTX

Updated: 11/30/2021, 7:00:45 PM
Created: 11/30/2021, 7:00:45 PM
Last Updated By: Jake Tuttle
Read Time: 1 minute(s)

Tags: hexadecimal representation

# Description

The DTX function will return the hexadecimal representation of a numeric expression. It takes the general form:

DTX(expression)
1

Where expression must evaluate to a decimal numeric value or a runtime error will occur. An example of use may be as:

Decimal = 254
CRT DTX(Decimal)
1
2

to display ‘FE’.

See also: XTD.

Go back to jBASE BASIC

Go back to Programmers' Reference Guide