# integer.to_hex · Rell standard library · Chromia Docs (concept)

> pure function to_ hex(): text Convert this integer to hexadecimal text. Does not include a base prefix in the output, i.e. integer(25).to_hex() returns 19 

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/to_hex/

FUNCTION

# integer.to\_hex

```signature
pure function to_hex(): text
```

Convert this integer to hexadecimal text.

Does not include a base prefix in the output, i.e. `integer(25).to_hex()` returns `19` rather than
`0x19`.

Since 0.6.0

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/integer/to_hex.html)Generated API reference, mirrored from the live docs
