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

> pure function min(value: big_integer ): big_integer Returns the lesser of this and another big_integer value; i.e. value if value is less than
this, or thi

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

FUNCTION

# big\_integer.min

```signature
pure function min(value: big_integer): big_integer
```

Returns the lesser of this and another `big_integer` value; i.e. `value` if `value` is less than
this, or this `big_integer` otherwise.

**Parameters**

* **value** — the value to compare against

**Returns**

the lesser of `value` and this `big_integer`

Since 0.12.0

---

```signature
pure function min(value: decimal): decimal
```

Returns the numerically lesser of this `big_integer` a `decimal` value; i.e. `value` if `value` is
less than this `big_integer`, or this `big_integer` otherwise.

**Parameters**

* **value** — the decimal value to compare against

**Returns**

the lesser of `value` and this `big_integer`

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/min.html)Generated API reference, mirrored from the live docs
