# big_integer.from_hex · Rell standard library · Chromia Docs (concept)

> pure static function from_ hex(value: text ): big_integer Parses an unsigned hexadecimal text representation of a big_integer . Base prefixes are not suppo

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/big_integer/from_hex/

FUNCTION

# big\_integer.from\_hex

```signature
pure static function from_hex(value: text): big_integer
```

Parses an unsigned hexadecimal text representation of a `big_integer`.

Base prefixes are not supported, so one must write e.g. `integer.from_hex('CAFE')` rather than
`integer.from_hex('0xCAFE')`.

Case is ignored, i.e. `integer.from_hex('CAFE')` and `integer.from_hex('cafe')` are equivalent.

**Parameters**

* **value** — the hexadecimal text to be parsed

**Throws**

* `exception` — if the text representation is ill-formed

Since 0.12.0

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