# dtx command

The dtx command converts a given decimal
(integer) number to its corresponding hexadecimal equivalent.

Warning: The maximum range is +/- 2^47-1.

## Syntax

```
dtx number
```

## See also

- [addx command](https://d3codex.com/tcl/addx-command/)
- [divx command](https://d3codex.com/tcl/divx-command/)
- [mulx command](https://d3codex.com/tcl/mulx-command/)
- [subx command](https://d3codex.com/tcl/subx-command/)
- [xtd command](https://d3codex.com/tcl/xtd-command/)

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