# decimal.max · Rell standard library · Chromia Docs (concept)

> pure function max(value: decimal ): decimal Returns the greater of this and another decimal value; i.e. value if value is greater than this,
or this decima

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/decimal/max/

FUNCTION

# decimal.max

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

Returns the greater of this and another decimal value; i.e. `value` if `value` is greater than this,
or this decimal otherwise.

**Parameters**

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

**Returns**

the greater of `value` and this decimal

Since 0.9.1

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