DataBasic Reference > Statements and Intrinsic Functions > X > XTD 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.

Reality V15.0 ()

XTD Function (DataBasic) (m618703+xtd_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

XTD Function

Converts a hexadecimal value to its decimal equivalent.

Syntax

XTD(expression)

Syntax Elements

expression is any valid DataBasic expression.

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

Return Value

Returns the decimal equivalent of expression.

See Also

DTX function, OCONV function, FMT function.

Example

V = XTD("3A35")

assigns the value 14901 (the decimal equivalent of the hexadecimal value X'3A35') to the variable V.

RealityV15.0Comment on this topic