DataBasic Reference > Statements and Intrinsic Functions > D > DTX Function

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

DTX Function (DataBasic) (m618703+dtx_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

DTX Function

Converts a decimal value to its hexadecimal equivalent.

Syntax

DTX(expression)

Syntax Elements

expression is any valid DataBasic expression.

Only the characters 0-9 are valid. Conversion ceases at the first invalid character.

Return Value

Returns a string containing the hexadecimal equivalent of expression.

See Also

XTD, OCONV, FMT.

Example

HX = DTX(12139)

assigns the string "2F6B" (the hexadecimal equivalent of the decimal value 12139) to the variable HX.

RealityV15.1 (MoTW) Revision 7Comment on this topic