> For the complete documentation index, see [llms.txt](https://docs.ziomark.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ziomark.xyz/get-endpoints/dec-to-hex.md).

# Dec to Hex

### /dec-to-hex

Query Parameters:

* `dec` - The decimal number to convert.

Example Request:

```
/dec-to-hex?dec=255
```

Example Response:

```
{
    "decimal": 255,
    "hexadecimal": "ff"
}
```
