# xtd command

The xtd command converts a given hexadecimal
number into its equivalent decimal (integer) format.

## Syntax

```
xtd hexnum
```

## Example(s)

```
xtd 3af2
15090
```

## See also

- [addx command](https://d3codex.com/tcl/addx-command/)
- [divx command](https://d3codex.com/tcl/divx-command/)
- [dtx command](https://d3codex.com/tcl/dtx-command/)
- [dtx() function](https://d3codex.com/pickbasic-flashbasic/dtx-function/)

---
Source: https://d3codex.com/tcl/xtd-command/ - part of the D3Codex reference.
